1
0
Fork 0

fix(emacs): check arbitrary path for fish executable

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-06-29 00:45:45 -07:00
parent 4ab0f9e61c
commit 9a23c1406d
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -185,10 +185,7 @@
(setq compilation-exit-message-function 'compilation-exit-autoclose)
;; shell
(setq vterm-shell
(if (file-exists-p "/usr/bin/fish")
"/usr/bin/fish"
shell-file-name))
(setq vterm-shell (or (executable-find "fish") shell-file-name))
(keymap-global-set "C-c v" #'vterm)
(provide 'general)