mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Allow loading of aliases into bash instance, before running commands
This commit is contained in:
parent
db0c6b6366
commit
7df6d464b2
1 changed files with 5 additions and 0 deletions
|
|
@ -50,6 +50,11 @@ commands of Compilation major mode are available. See
|
|||
(setq compilation-finish-local-transient nil)
|
||||
(run-hook-with-args 'compilation-finish-local-sticky buf msg)))
|
||||
|
||||
(setq shell-file-name "bash")
|
||||
(let ((aliases-file "~/.config/bash/bash-env.sh"))
|
||||
(when (file-exists-p aliases-file)
|
||||
(setenv "BASH_ENV" aliases-file)))
|
||||
|
||||
(defun my/enable-comp-keys-if-separate-mode (orig &rest args)
|
||||
(let ((ht compilation-finish-local-transient)
|
||||
(hs compilation-finish-local-sticky))
|
||||
|
|
|
|||
Loading…
Reference in a new issue