Top / emacs / eshell

プロンプトのカスタマイズ

(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) " # " " $ "))))
Site admin: kam1610, PukiWiki 1.4.7 Copyright © 2001-2006 PukiWiki Developers Team. License is GPL.
Based on "PukiWiki" 1.3 by yu-ji. Powered by PHP 5.2.17.