Update eshell aliases
This commit is contained in:
parent
bcdf549f5e
commit
c5d858182c
@ -1143,12 +1143,14 @@ Load .dir-locals.el when switching directories:
|
||||
|
||||
Some aliases:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook 'eshell-mode-hook
|
||||
(lambda ()
|
||||
(eshell/alias "php-debug"
|
||||
"php -d xdebug.remote_enable=on -d xdebug.remote_host=127.0.0.1 -d xdebug.remote_port=9000 -d xdebug.remote_handler=dbgp -d xdebug.idekey=geben -d xdebug.remote_autostart=On $*")
|
||||
(eshell/alias "sortpom"
|
||||
"mvn com.github.ekryd.sortpom:sortpom-maven-plugin:sort -Dsort.keepBlankLines -Dsort.sortDependencies=scope,groupId,artifactId -Dsort.createBackupFile=false $*")))
|
||||
(defvar eshell-aliases
|
||||
'(("k" . "kubectl $*")
|
||||
("kctx" . "kubectx $*")))
|
||||
(add-hook
|
||||
'eshell-mode-hook
|
||||
(lambda ()
|
||||
(dolist (alias eshell-aliases)
|
||||
(eshell/alias (car alias) (cdr alias)))))
|
||||
#+END_SRC
|
||||
|
||||
* JSON
|
||||
|
Loading…
Reference in New Issue
Block a user