OSX
~/.profile
或者
~/.bash_profile
alias ll=‘ls -lG‘
或者
alias ll=‘ls -lGaf‘
linux
~/.bashrc
或者
~/.bash_profile
alias ll=‘ls -l --color=auto‘
执行
source ~/.bash_profile
或者
从新打开terminal
即可生效。
本文出自 “GONE WITH THE WIND” 博客,请务必保留此出处http://h2appy.blog.51cto.com/609721/1747306
原文:http://h2appy.blog.51cto.com/609721/1747306