Add fish-mode for working with fish shell files
This commit is contained in:
parent
49dc540735
commit
6ff04b7741
2 changed files with 18 additions and 0 deletions
|
@ -4521,6 +4521,20 @@ I use ~vterm~ for my shell inside Emacs, and at the moment, this section is abou
|
|||
(add-hook 'dired-mode-hook #'zoxide-add)))
|
||||
#+end_src
|
||||
|
||||
** The =unravel-shell.el= section for ~fish-mode~
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: h:B728F188-405C-43F7-89AD-E589ACF7579B
|
||||
:CREATED: [2024-12-06 Fri 14:37]
|
||||
:END:
|
||||
|
||||
I use ~fish~ as my primary shell, and want a mode for reading ~.fish~ files. This is what ~fish-mode~ gives me.
|
||||
|
||||
#+begin_src emacs-lisp :tangle "unravel-modules/unravel-shell.el"
|
||||
;; Mode to read/write fish functions and files
|
||||
(use-package fish-mode
|
||||
:ensure t)
|
||||
#+end_src
|
||||
|
||||
** Finally, we provide the =unravel-shell.el= module
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: h:83F2ADFB-D72B-4F8C-8B01-BA1A9CA4939C
|
||||
|
|
|
@ -14,4 +14,8 @@
|
|||
(add-hook 'find-file-hook #'zoxide-add)
|
||||
(add-hook 'dired-mode-hook #'zoxide-add)))
|
||||
|
||||
;; Mode to read/write fish functions and files
|
||||
(use-package fish-mode
|
||||
:ensure t)
|
||||
|
||||
(provide 'unravel-shell)
|
||||
|
|
Loading…
Reference in a new issue