tools/eshell: remove custom aliases
That belongs in my private module
This commit is contained in:
parent
a3800f3949
commit
ba2fb4a82d
1 changed files with 2 additions and 12 deletions
|
@ -33,19 +33,9 @@
|
||||||
(add-hook 'eshell-mode-hook #'+eshell|init)
|
(add-hook 'eshell-mode-hook #'+eshell|init)
|
||||||
(add-hook 'eshell-exit-hook #'+eshell|cleanup)
|
(add-hook 'eshell-exit-hook #'+eshell|cleanup)
|
||||||
|
|
||||||
(after! em-alias
|
|
||||||
(setq eshell-command-aliases-list
|
|
||||||
(append eshell-command-aliases-list
|
|
||||||
'(("q" "exit")
|
|
||||||
("l" "ls -1")
|
|
||||||
("ll" "ls -l")
|
|
||||||
("la" "ls -la")
|
|
||||||
("g" "hub")
|
|
||||||
("gs" "hub status --short .")))))
|
|
||||||
|
|
||||||
(after! em-term
|
(after! em-term
|
||||||
;; Visual commands require a proper terminal. Eshell can't handle that, so it
|
;; Visual commands require a proper terminal. Eshell can't handle that, so
|
||||||
;; delegates these commands to a term buffer.
|
;; it delegates these commands to a term buffer.
|
||||||
(setq eshell-visual-commands
|
(setq eshell-visual-commands
|
||||||
(append eshell-visual-commands '("tmux" "htop" "bash" "zsh" "fish" "vim" "nvim"))
|
(append eshell-visual-commands '("tmux" "htop" "bash" "zsh" "fish" "vim" "nvim"))
|
||||||
eshell-visual-subcommands '(("git" "log" "l" "diff" "show"))))
|
eshell-visual-subcommands '(("git" "log" "l" "diff" "show"))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue