Skip to main content

I follow the very common practice of putting my alias definition indefinitions into

~/.bash_aliases

and then calling that from .bashrc with

[ -f ~/.bash_aliasbash_aliases ] && source $HOME/.bash_aliasbash_aliases

I follow the very common practice of putting my alias definition in

~/.bash_aliases

and then calling that from .bashrc with

[ -f ~/.bash_alias ] && source $HOME/.bash_alias

I follow the very common practice of putting my alias definitions into

~/.bash_aliases

and then calling that from .bashrc with

[ -f ~/.bash_aliases ] && source $HOME/.bash_aliases
Source Link
Michael Durrant
  • 43.7k
  • 72
  • 176
  • 237

I follow the very common practice of putting my alias definition in

~/.bash_aliases

and then calling that from .bashrc with

[ -f ~/.bash_alias ] && source $HOME/.bash_alias