DEV Community

Discussion on: Some helpful Bash scripts I use daily

Collapse
 
henrysabio profile image
Henry

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.

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.

Collapse
 
aviaryan profile image
Avi Aryan

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.