M. Takeyama です。
#zsh使いで、はないですけど...
On Tue, 6 Apr 2004 21:32:50 +0900
Masaru Imai
今井です。
[...]
解決できたのはいいですがまた新たな問題が....。 zshをシェルで使ってますけど、環境変数PAGERってどこで設定してるんだろう....。 SUSE(9.0)の場合は、/etc/profile だと思います。(外しているかも。)
cat /etc/SuSE-release ----- SuSE Linux 9.0 (i586) VERSION = 9.0 ----- 1) rpmコマンドで、関係ありそうなファイルを探して、 rpm -qs zsh-4.1.1-42|more normal /bin/zsh normal /etc/zshenv normal /etc/zshrc 2) cat /etc/zshenv # Source the /etc/profile - done here since we want it to be done as the first # thing the zsh does. setopt nonomatch source /etc/profile unsetopt nonomatch 3) /etc/profile の中身をみたらそれらしき設定がありました。 <ちなみに...> 優先順位は別として、stringsコマンドで、/bin/zshの中身を調べたら 以下のようなファイルを読み込んでいそうな感じがしました。 #stringsコマンドは、defaultの定義ファイルなどを探す場合などに #(あたりをつけるときなどに)良く使います. .zlogout /etc/zlogout /etc/zshenv /etc/profile .profile /etc/suid_profile /etc/zlogin .zlogin /etc/zshrc .zshrc /etc/zprofile .zprofile .zshenv zsh/rlimits zsh/sched zsh/parameter zsh/termcap zsh/terminfo zsh/zutil zsh/complete zsh/compctl zsh/complist zsh/zleparameter ----- M. Takeyama