Replies: 4 comments
-
Great suggestion! I’ll have to submit a PR to add this information! Thanks for bringing this up! |
Beta Was this translation helpful? Give feedback.
-
I'd like to provide a counter argument. The chapter to which you are referencing is called There is no end to this if you cater to an alternate shell. You can't possibly cover every solution, both present and future. |
Beta Was this translation helpful? Give feedback.
-
This is a valid point @FearTheBadger! Maybe just a warning mentioning that if the user uses a different shell then they need to update the corresponding file rather than trying to list all possible ones. |
Beta Was this translation helpful? Give feedback.
-
it really worth to check that I wrote I faced a problem while making aliases i hope this note would help in bold meaning as a beginner you might ( or will ) face such a problem especially while using OS deploys other shells (not bash) by default , so take care ... but not meant to use alternative ways to do the same job in bash with other shells !! |
Beta Was this translation helpful? Give feedback.
-
I faced a problem while making aliases i hope this note would help
(Note : deal with ~/.bashrc or ~/.zshrc according to the shell u use )
make sure first what shell do use the command below will let u know :
echo "$SHELL"
why do you have to know ..? because editing the
~/.bashrc
while u use zsh and even resourcing or logging out will give no benefit since u configure a file for shell ur not currently usingcommands :
if u use zsh ~>
nano /.zshrc
if u use bash ~>
nano /.bashrc
and so on ..Beta Was this translation helpful? Give feedback.
All reactions