2012-02-10から1日間の記事一覧
TABを押すことすら面倒になった人向け. function prefixcd() { unalias ls if [ `find . -maxdepth 1 -type d -ipath "./$1*" | wc -l` = "1" ]; then cd `find . -maxdepth 1 -type d -ipath "./$1*"` else cd $* fi alias ls="ls -F --color=auto" } alias…
TABを押すことすら面倒になった人向け. function prefixcd() { unalias ls if [ `find . -maxdepth 1 -type d -ipath "./$1*" | wc -l` = "1" ]; then cd `find . -maxdepth 1 -type d -ipath "./$1*"` else cd $* fi alias ls="ls -F --color=auto" } alias…