vxh.viet
6/8/2018 - 3:43 PM

Alias in Bash/ zsh

How to use Alias in Bash/ zsh:

If you need to repeatedly run a command like:

source ~/.bash_profile
source ~/.zshrc

you can create aliases for these command in ~/.bash_profile and source ~/.zshrc:

alias sb='source ~/.bash_profile'
alias sz='source ~/.zshrc'