macのbashにエイリアスをつけた
Macにll無いんだ
homahi-2:ubuntu64_16 homahi$ ll -bash: ll: command not found
あぁそう・・・。
ついでなんで便利そうなエイリアスを探した。
homahi-2:workspace homahi$ cat ~/.bash_profile if [ -f ~/.bashrc ] ; then . ~/.bashrc fi export PATH=/usr/local/bin:$PATH cdls () { \cd "$@" && ls } alias cd="cdls" alias ll='ls -la' alias grep='grep --color' alias ps='ps --sort=start_time' alias rm='rm -i' alias ps='ps --sort=start_time'
普通によく使うやつだけ。