瀏覽代碼

emacs.el: Update eshhell-banner-message

pull/1/head
10sr 10 年之前
父節點
當前提交
305381f20a
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. +8
    -0
      emacs.el

+ 8
- 0
emacs.el 查看文件

@@ -1898,6 +1898,14 @@ Optional prefix ARG says how many lines to unflag; default is one line."

(lazy-load-eval 'eshell nil

(setq eshell-banner-message (format "Welcome to the Emacs shell
%s
C-x t to toggling emacs-text-mode

"
(shell-command-to-string "uname -a")
))

(defvar eshell-text-mode-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "C-x t") 'eshell-text-mode-toggle)


Loading…
取消
儲存