Create unravel-shell.el for vterm related settings
This commit is contained in:
parent
475d0bad25
commit
6193ec3386
3 changed files with 42 additions and 0 deletions
1
init.el
1
init.el
|
@ -92,4 +92,5 @@ making an abbreviation to a function."
|
||||||
(require 'unravel-window)
|
(require 'unravel-window)
|
||||||
(require 'unravel-git)
|
(require 'unravel-git)
|
||||||
(require 'unravel-org)
|
(require 'unravel-org)
|
||||||
|
(require 'unravel-shell)
|
||||||
(require 'unravel-langs)
|
(require 'unravel-langs)
|
||||||
|
|
|
@ -387,6 +387,7 @@ Now we are ready to load our per-module configuration files:
|
||||||
(require 'unravel-window)
|
(require 'unravel-window)
|
||||||
(require 'unravel-git)
|
(require 'unravel-git)
|
||||||
(require 'unravel-org)
|
(require 'unravel-org)
|
||||||
|
(require 'unravel-shell)
|
||||||
(require 'unravel-langs)
|
(require 'unravel-langs)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -4044,6 +4045,37 @@ title of the task, and the like. The documentation string of
|
||||||
(provide 'unravel-org)
|
(provide 'unravel-org)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* The =unravel-shell.el= module
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: h:1E30455D-BB40-44E7-9FB1-92529FE03BDE
|
||||||
|
:END:
|
||||||
|
|
||||||
|
I use ~vterm~ for my shell inside Emacs, and at the moment, this section is about ~vterm~ configuration only.
|
||||||
|
|
||||||
|
** The =unravel-shell.el= section for ~vterm~
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: h:2945DD5C-6AF1-4323-A287-A4F5C109471C
|
||||||
|
:END:
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp :tangle "unravel-modules/unravel-shell.el" :mkdirp yes
|
||||||
|
;;;; Vterm
|
||||||
|
(use-package vterm
|
||||||
|
:ensure t
|
||||||
|
:bind
|
||||||
|
("C-x m" . vterm)
|
||||||
|
:config
|
||||||
|
(setq vterm-shell (or (executable-find "fish") "/opt/homebrew/bin/fish")))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** Finally, we provide the =unravel-shell.el= module
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: h:83F2ADFB-D72B-4F8C-8B01-BA1A9CA4939C
|
||||||
|
:END:
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp :tangle "unravel-modules/unravel-shell.el"
|
||||||
|
(provide 'unravel-shell)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* The =unravel-langs.el= module
|
* The =unravel-langs.el= module
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: h:f44afb76-a1d7-4591-934d-b698cc79a792
|
:CUSTOM_ID: h:f44afb76-a1d7-4591-934d-b698cc79a792
|
||||||
|
|
9
unravel-modules/unravel-shell.el
Normal file
9
unravel-modules/unravel-shell.el
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
;;;; Vterm
|
||||||
|
(use-package vterm
|
||||||
|
:ensure t
|
||||||
|
:bind
|
||||||
|
("C-x m" . vterm)
|
||||||
|
:config
|
||||||
|
(setq vterm-shell (or (executable-find "fish") "/opt/homebrew/bin/fish")))
|
||||||
|
|
||||||
|
(provide 'unravel-shell)
|
Loading…
Reference in a new issue