diff --git a/unravel-emacs.org b/unravel-emacs.org index 619f5a4..8ea5bff 100644 --- a/unravel-emacs.org +++ b/unravel-emacs.org @@ -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 diff --git a/unravel-modules/unravel-shell.el b/unravel-modules/unravel-shell.el index 62dff0a..1376d71 100644 --- a/unravel-modules/unravel-shell.el +++ b/unravel-modules/unravel-shell.el @@ -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)