From 4cc0c895016fa1e4d9e6172efd455805ffe31a4f Mon Sep 17 00:00:00 2001 From: Allard Hendriksen Date: Mon, 19 Mar 2018 09:00:27 +0100 Subject: [PATCH] Add shell-mode syntax highlighting Also C-c ' now opens a side buffer to edit the code block in shell-mode. --- ob-tmux.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ob-tmux.el b/ob-tmux.el index c46d37f..3ded7d9 100644 --- a/ob-tmux.el +++ b/ob-tmux.el @@ -51,6 +51,8 @@ In case you want to use a different tmux than one selected by your $PATH") (:terminal . "gnome-terminal")) "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) "Send a block of code via tmux to a terminal using Babel. \"default\" session is used when none is specified."