zshでcdしたらlsしといて欲しい。カラーで。隠しファイルも含めて。
もうlsだけ打つ機会ほとんどない。
case ${OSTYPE} in darwin*) #Mac用の設定 export CLICOLOR=1 function chpwd() { ls -A -G -F} ;; linux*) #Linux用の設定 function chpwd() { ls -A -F --color=auto} ;; esac
もうlsだけ打つ機会ほとんどない。
case ${OSTYPE} in darwin*) #Mac用の設定 export CLICOLOR=1 function chpwd() { ls -A -G -F} ;; linux*) #Linux用の設定 function chpwd() { ls -A -F --color=auto} ;; esac