From 2a274a4a4f6b83d5071e9af283455d4ece68f903 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 22 Jan 2023 11:40:10 -0800 Subject: ref(eshell): remove unnecessary variables Some of the variables where related to eshell-smart, which I don't use. Change-Id: If983883a3275b6f6de58c56105c2fbea1c388c20 --- emacs/custom/my-eshell.el | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'emacs/custom') diff --git a/emacs/custom/my-eshell.el b/emacs/custom/my-eshell.el index 7a4e8db..c5a4a27 100644 --- a/emacs/custom/my-eshell.el +++ b/emacs/custom/my-eshell.el @@ -40,6 +40,7 @@ (eshell/alias "emacs" "find-file $1") (eshell/alias "ee" "find-file-other-window $1") (eshell/alias "ll" "ls -l") + (eshell/alias "lla" "ls -la") (eshell/alias "d" "dired $1") (eshell/alias "gs" "vc-diff") (eshell/alias "cal" "calendar") @@ -95,11 +96,6 @@ append to it, while separating multiple outputs with "Set the PROPERTIES for the given STR." `(propertize ,str 'face (list ,@properties))) -(defun my/prompt () - "EShell prompt displaying VC info and such." - (concat (my/short-pwd (eshell/pwd)) - (if (= (user-uid) 0) " # " " λ "))) - (define-key eshell-mode-map (kbd "C-c e e") 'my/eshell-export) (customize-set-variable 'eshell-scroll-to-bottom-on-input 'all) @@ -108,11 +104,6 @@ append to it, while separating multiple outputs with (customize-set-variable 'eshell-save-history-on-exit t) (customize-set-variable 'eshell-cd-on-directory t) (customize-set-variable 'eshell-prefer-lisp-functions nil) -(customize-set-variable 'eshell-prompt-function 'my/prompt) -(customize-set-variable 'eshell-highlight-prompt nil) -(customize-set-variable 'eshell-where-to-jump 'begin) -(customize-set-variable 'eshell-review-quick-commands nil) -(customize-set-variable 'tramp-shell-prompt-pattern "^[^$>\n]*[#$%>] *\\(customize-set-variable '\[[0-9;]*[a-zA-Z] *\\)*") (customize-set-variable 'eshell-destroy-buffer-when-process-dies t) (add-hook 'eshell-mode-hook 'my/eshell-mode-setup) -- cgit 1.4.1