Compare commits

..

4 Commits

Author SHA1 Message Date
Jeremy Dormitzer
623e270f49 Respect dir-locals in eshell 2021-02-20 22:21:49 -05:00
Jeremy Dormitzer
bb0d50e579 Fix init-run-command lib 2021-02-20 22:21:35 -05:00
Jeremy Dormitzer
9b8d029903 Set dired-dwim-target 2021-02-20 22:21:05 -05:00
Jeremy Dormitzer
bec57e39a0 Add eshell aliases 2021-02-20 22:20:30 -05:00
4 changed files with 17 additions and 3 deletions

View File

@ -15,7 +15,9 @@
(evil-collection-dired-setup)
:general
(dired-mode-map [remap find-file] #'dired-find-file-current-dir
[remap dired-do-rename] #'dired-do-rename-current-dir))
[remap dired-do-rename] #'dired-do-rename-current-dir)
:custom
(dired-dwim-target t))
;; Add a toggleable dired sidebar
(use-package dired-sidebar

View File

@ -38,6 +38,10 @@
(setq jdormit-eshell-prompt-regex "^[^#λ\n]* [#λ] ")
(setq eshell-prompt-function 'jdormit-eshell-prompt)
(setq eshell-prompt-regexp jdormit-eshell-prompt-regex)
;; Load dir-locals when switching directories
(add-hook 'eshell-mode-hook #'hack-dir-local-variables-non-file-buffer)
(add-hook 'eshell-after-prompt-hook #'hack-dir-local-variables-non-file-buffer)
:general
(leader-map "'" #'open-eshell)
:custom

View File

@ -201,4 +201,4 @@
run-command-recipe-pytest
run-command-recipe-web-ext)))
(provide 'run-command)
(provide 'init-run-command)

View File

@ -0,0 +1,8 @@
alias root cd (projectile-project-root)
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 $*
alias kns kubens $*
alias k kubectl $*
alias kctx kubectx $*
alias sortpom mvn com.github.ekryd.sortpom:sortpom-maven-plugin:sort -Dsort.keepBlankLines -Dsort.sortDependencies=scope,groupId,artifactId -Dsort.createBackupFile=false $*
alias helm /usr/local/bin/helm $*
alias tf terraform $*