プロンプトのカスタマイズ †(setq eshell-prompt-function 'my-eshell-prompt) (defun my-eshell-prompt () "$ " ) (setq eshell-prompt-function
(lambda nil
(concat
(eshell/pwd)
" $ ")))
(setq eshell-prompt-function
(lambda ()
(concat (format-time-string "%Y-%m-%d %H:%M" (current-time))
(if (= (user-uid) 0) " # " " $ "))))
ntemacsで使うとき †exec-path, pathを設定しても反映されない...とりあえず M-x shell を使うことに.これならDOS-BATも動く. |