[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Shell mode doesn't read .bash_histry



水口@京都 と申します。

Win98SE 上の Meadow1.14 の shell mode で bash を使用していますが、 
.emacs で
> (setq explicit-shell-file-name "bash.exe")
とすると M-p (comint-previous-input) が ~/.bash_histry を読んでくれず、
shell-mode 起動前のコマンド履歴が使えません。

~/.bash_histry の代りに ~/.histry を読もうとしている様なので、
> HISTFILE=~/.bash_history
という環境変数を定義すれば解決しました。


一方、
> (setq explicit-shell-file-name "bash")
ならば HISTFILE 変数無でも問題は起りません。

問題の起る方のコーディングは Meadow1.14 の配布物である dot.emacs.ja 中
でコメントになっていたものから転記したものですが、.exe は付けた方が良
いのでしょうか?
PATH上に bash.bat というファイルが無いなら大丈夫ですか?

                                                  よろしくお願いします。
--
水口 元彦 (みなくち もとひこ)
zxcv@xxxxxxxxxxxxxxx