Compare commits
4 Commits
6df2f155ec
...
623e270f49
Author | SHA1 | Date | |
---|---|---|---|
|
623e270f49 | ||
|
bb0d50e579 | ||
|
9b8d029903 | ||
|
bec57e39a0 |
@ -7,7 +7,7 @@
|
|||||||
(defun dired-find-file-current-dir ()
|
(defun dired-find-file-current-dir ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((default-directory (dired-current-directory)))
|
(let ((default-directory (dired-current-directory)))
|
||||||
(call-interactively #'find-file)))
|
(call-interactively #'find-file)))
|
||||||
(defun dired-do-rename-current-dir ()
|
(defun dired-do-rename-current-dir ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((default-directory (dired-current-directory)))
|
(let ((default-directory (dired-current-directory)))
|
||||||
@ -15,7 +15,9 @@
|
|||||||
(evil-collection-dired-setup)
|
(evil-collection-dired-setup)
|
||||||
:general
|
:general
|
||||||
(dired-mode-map [remap find-file] #'dired-find-file-current-dir
|
(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
|
;; Add a toggleable dired sidebar
|
||||||
(use-package dired-sidebar
|
(use-package dired-sidebar
|
||||||
|
@ -38,6 +38,10 @@
|
|||||||
(setq jdormit-eshell-prompt-regex "^[^#λ\n]* [#λ] ")
|
(setq jdormit-eshell-prompt-regex "^[^#λ\n]* [#λ] ")
|
||||||
(setq eshell-prompt-function 'jdormit-eshell-prompt)
|
(setq eshell-prompt-function 'jdormit-eshell-prompt)
|
||||||
(setq eshell-prompt-regexp jdormit-eshell-prompt-regex)
|
(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
|
:general
|
||||||
(leader-map "'" #'open-eshell)
|
(leader-map "'" #'open-eshell)
|
||||||
:custom
|
:custom
|
||||||
|
@ -201,4 +201,4 @@
|
|||||||
run-command-recipe-pytest
|
run-command-recipe-pytest
|
||||||
run-command-recipe-web-ext)))
|
run-command-recipe-web-ext)))
|
||||||
|
|
||||||
(provide 'run-command)
|
(provide 'init-run-command)
|
||||||
|
8
emacs/.emacs.d/eshell/alias
Normal file
8
emacs/.emacs.d/eshell/alias
Normal 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 $*
|
Loading…
Reference in New Issue
Block a user