diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-11-07 10:24:32 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-11-07 10:24:32 +0100 |
commit | 89a1597941fd364ed250b59094a5411822746ba4 (patch) | |
tree | 036bc7aa72a49252aea0bc3818ca4e373fdc3691 | |
parent | 22732b634fb66a20cffa2a15515ff392a02df7ea (diff) | |
download | bin-89a1597941fd364ed250b59094a5411822746ba4.tar.gz bin-89a1597941fd364ed250b59094a5411822746ba4.tar.xz |
Add term-open
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | term-open | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/term-open b/term-open new file mode 100755 index 0000000..e61c7fc --- /dev/null +++ b/term-open @@ -0,0 +1,10 @@ +#!/bin/bash + +cmd=$1; shift +term=termite + +if [[ $cmd = "mutt" ]]; then + exec termite -e "mutt -e 'set autoedit=yes' -- $*" +fi + +exec termite -e "$cmd -- $*" |