* alias を利用した小技 [#yef4797c] **ls で日本語の文字を表示する [#n5a01a5f] .bashrcに下記内容を記述 #sh(alias ls='ls --show-control-chars') **ls の出力に色を付ける [#ka32007c] #sh(alias ls='ls --color=auto') * 任意の場所でエクスプローラを開く [#g35e8008] #sh(){{ function explorer_wrapper { explorer $2$(cygpath -w -a $1) }; function e { if [ $# -eq 0 ]; then target=. else target=$1 fi explorer_wrapper $target }; function eh { if [ $# -eq 0 ]; then target=. else target=$1 fi explorer_wrapper $target '/e,' }; function er { if [ $# -eq 0 ]; then target=. else target=$1 fi explorer_wrapper $target '/e,/root,' }; }} #hr /[[Top]]/[[cygwintips]]/