]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
eshell-visual-commands ec2
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 30 May 2024 16:03:48 +0000 (18:03 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 30 May 2024 16:03:48 +0000 (18:03 +0200)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba-shell.org

index 1abdf0f738100f837965b1448760e855832e1bde..cb7806372ccbf13d0ef51bef14e754179077786f 100644 (file)
@@ -113,7 +113,9 @@ A little bit of code from https://github.com/bodil/emacs.d/blob/master/bodil/bod
   (add-hook 'eshell-load-hook #'eat-eshell-visual-command-mode)
 #+end_src
 
-
+#+begin_src elisp
+  (add-to-list 'eshell-visual-commands "ec2")
+#+end_src
 ** Most of this stolen from the great [[https://github.com/howardabrams/hamacs/blob/main/ha-eshell.org][Howard Abrams]]!
 [2022-12-08 Thu 17:43]
 *** Aliases
@@ -144,6 +146,7 @@ For instance, while I would like to have the following, the real solution is to
   alias less view-file $1
 #+end_src
 
+
 Third,  you want more /control/, you can use the help:eshell/alias function, but it doesn’t honor =$1= and other parameters, so we could create conditionally create function that we add to the [[help:eshell-mode-hook][eshell-mode-hook]], for instance:
 #+begin_src emacs-lisp :tangle no
   (defun ha-eshell-add-aliases ()