fix(emacs): check arbitrary path for fish executable
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
4ab0f9e61c
commit
9a23c1406d
1 changed files with 1 additions and 4 deletions
|
@ -185,10 +185,7 @@
|
||||||
(setq compilation-exit-message-function 'compilation-exit-autoclose)
|
(setq compilation-exit-message-function 'compilation-exit-autoclose)
|
||||||
|
|
||||||
;; shell
|
;; shell
|
||||||
(setq vterm-shell
|
(setq vterm-shell (or (executable-find "fish") shell-file-name))
|
||||||
(if (file-exists-p "/usr/bin/fish")
|
|
||||||
"/usr/bin/fish"
|
|
||||||
shell-file-name))
|
|
||||||
(keymap-global-set "C-c v" #'vterm)
|
(keymap-global-set "C-c v" #'vterm)
|
||||||
|
|
||||||
(provide 'general)
|
(provide 'general)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue