summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-22 11:40:10 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-22 11:40:10 -0800
commit2a274a4a4f6b83d5071e9af283455d4ece68f903 (patch)
treed1a6571bd9e8970ef3cbf692a3424d4231cdf16f
parentref(completion): replace corfu-doc with corfu-popupinfo (diff)
downloademacs.d-2a274a4a4f6b83d5071e9af283455d4ece68f903.tar.gz
ref(eshell): remove unnecessary variables
Some of the variables where related to eshell-smart, which I don't use.

Change-Id: If983883a3275b6f6de58c56105c2fbea1c388c20
-rw-r--r--emacs/custom/my-eshell.el11
1 files changed, 1 insertions, 10 deletions
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)