Fix #4279: runaway duplication in eshell-command-aliases-list
This commit is contained in:
parent
d21b4e643d
commit
6f3f4de46d
1 changed files with 5 additions and 6 deletions
|
@ -110,12 +110,11 @@ You should use `set-eshell-alias!' to change this.")
|
|||
(after! em-term
|
||||
(pushnew! eshell-visual-commands "tmux" "htop" "vim" "nvim" "ncmpcpp"))
|
||||
|
||||
(add-hook! 'eshell-alias-load-hook
|
||||
(defun +eshell-init-aliases-h ()
|
||||
(after! em-alias
|
||||
(setq +eshell--default-aliases eshell-command-aliases-list
|
||||
eshell-command-aliases-list
|
||||
(append eshell-command-aliases-list
|
||||
+eshell-aliases)))))
|
||||
+eshell-aliases))))
|
||||
|
||||
|
||||
(after! esh-mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue