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

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



加藤@大阪です。

すみません、endifを忘れてました。

訂正します。muleのshell-modeで色をつけなくするのに必要なことは、
.cshrcでlsのaliasを変更。

alis  ls  'ls -F'

.cshrcの最後に以下を追加。

# 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`
endif
↑を書き忘れてた。

ついでにpromptはdefaultが好みにあわないので、

if ($?prompt) then
	set prompt="`hostname`%~% "
endif

としています。

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

References
[plamo:01024] color ls problem in mule shell-mode, Sadaaki KATO

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