[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:01024] color ls problem in mule shell-mode



加藤@大阪です。Subject変えました。

akendo@t3.rim.or.jp wrote, 
> bashでしたら、.bashrcに
> if [ "$TERM" = "dumb" ] ; then LS_OPTIONS="$LS_OPTIONS --color=no " ; fi

僕は.cshrcで、aliasを

#alias   ls      'ls -F --color=tty'
alias   ls      'ls -F'

として、最後に

# shell-modeで行末に^Mをつかなくする
if ($?EMACS) then
        if ("$EMACS" == t) then
                if ($?tcsh) unset edit
                        stty nl
        endif
endif
# TERMがdumbのとき(mule,emacs)以外には色をつける
if ($TERM != dumb) then
        eval `dircolors -c`

を追加しています。

--
加藤 貞顕 / skato@venus.dti.ne.jp

Follow-Ups
[plamo:01025] Re: color ls problem in mule shell-mode, Sadaaki KATO
References
[plamo:01015] Re: aalias cd, akendo

[検索ページ] [メール一覧]
Plamo ML 公開システム