Add shell-mode syntax highlighting
Also C-c ' now opens a side buffer to edit the code block in shell-mode.hello-test
parent
510b5f4fee
commit
4cc0c89501
|
@ -51,6 +51,8 @@ In case you want to use a different tmux than one selected by your $PATH")
|
||||||
(:terminal . "gnome-terminal"))
|
(:terminal . "gnome-terminal"))
|
||||||
"Default arguments to use when running tmux source blocks.")
|
"Default arguments to use when running tmux source blocks.")
|
||||||
|
|
||||||
|
(add-to-list 'org-src-lang-modes '("tmux" . sh))
|
||||||
|
|
||||||
(defun org-babel-execute:tmux (body params)
|
(defun org-babel-execute:tmux (body params)
|
||||||
"Send a block of code via tmux to a terminal using Babel.
|
"Send a block of code via tmux to a terminal using Babel.
|
||||||
\"default\" session is used when none is specified."
|
\"default\" session is used when none is specified."
|
||||||
|
|
Loading…
Reference in New Issue