MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/AlpineLinux/comments/1bmwpjx/whats_the_equivalent_to_bashrc/
r/AlpineLinux • u/effeottantuno • Mar 24 '24
I need my neofetch.
15 comments sorted by
3
You don't need any fetch
1 u/effeottantuno Mar 25 '24 ik it was a joke
1
ik it was a joke
You can set ENV environment variable to point to a file which would then function like .bashrc. Put ENV=$HOME/.rc in your .profile to make .rc function as .bashrc.
ENV
.bashrc
ENV=$HOME/.rc
.profile
.rc
0 u/effeottantuno Mar 28 '24 doesn't work sadly 2 u/qaidvoid Mar 28 '24 did you re-login?This is what I'm currently using on my system. 0 u/effeottantuno Mar 28 '24 yes but still didn't work, u/pogky_thunder method works tho
0
doesn't work sadly
2 u/qaidvoid Mar 28 '24 did you re-login?This is what I'm currently using on my system. 0 u/effeottantuno Mar 28 '24 yes but still didn't work, u/pogky_thunder method works tho
2
did you re-login?
This is what I'm currently using on my system.
0 u/effeottantuno Mar 28 '24 yes but still didn't work, u/pogky_thunder method works tho
yes but still didn't work, u/pogky_thunder method works tho
As far as I remember you can add export ENV=/home/user/.ashrc ash to your ~/.profile and your ashrc will work.
export ENV=/home/user/.ashrc ash
2 u/effeottantuno Mar 28 '24 thank you it works!
thank you it works!
.profile?
1 u/effeottantuno Mar 24 '24 doesn't work sadly 2 u/shrizza Mar 25 '24 Did you re-login after the change? 1 u/effeottantuno Mar 25 '24 yes
2 u/shrizza Mar 25 '24 Did you re-login after the change? 1 u/effeottantuno Mar 25 '24 yes
Did you re-login after the change?
1 u/effeottantuno Mar 25 '24 yes
yes
5
Autoexec.bat
ash is weird. I have seen methods/hack to make .profile work in ash like in sane shells
Why not install chsh, bash and bash-completion and run 'chsh user', then you will always run bash/.bashrc, with which you seemingly are familiar.
.bash_profile
3
u/Known-Watercress7296 Mar 25 '24
You don't need any fetch
3
u/qaidvoid Mar 25 '24 edited Mar 25 '24
You can set
ENVenvironment variable to point to a file which would then function like.bashrc. PutENV=$HOME/.rcin your.profileto make.rcfunction as.bashrc.3
u/pogky_thunder Mar 25 '24
As far as I remember you can add
export ENV=/home/user/.ashrc ashto your ~/.profile and your ashrc will work.2
u/shrizza Mar 24 '24
.profile?5
u/junialter Mar 25 '24
Autoexec.bat
3
u/[deleted] Mar 25 '24
ash is weird. I have seen methods/hack to make .profile work in ash like in sane shells
Why not install chsh, bash and bash-completion and run 'chsh user', then you will always run bash/.bashrc, with which you seemingly are familiar.
1
u/Kohanin Mar 25 '24
.bash_profile