Terminal 设置 path、alias

1
vi ~/.bash_profile
1
2
3
alias rn='react-native'
alias ro='react-native run-ios'
export PATH=$PATH:/usr/local/mysql/bin
1
esc
1
:wq!
1
source ~/.bash_profile

评论