I keep all my aliases in .bash_profile so all I need to do is type alias and it automatically responds back with a list of aliases I’ve made.
.bash_profile
alias
No need for an alias for my aliases. But then again macOS runs the login shell .bash_profile by default every time.
So I guess this would indeed be useful and not so redundant for anyone who’s machine is setup differently.
It works for me too since I have source(d) that file into .bash_profile. But it lists everything and so finding my custom aliases will be a pain.
source
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I keep all my aliases in
.bash_profile
so all I need to do is typealias
and it automatically responds back with a list of aliases I’ve made.No need for an alias for my aliases.
But then again macOS runs the login shell
.bash_profile
by default every time.So I guess this would indeed be useful and not so redundant for anyone who’s machine is setup differently.
It works for me too since I have
source
(d) that file into.bash_profile
. But it lists everything and so finding my custom aliases will be a pain.