summaryrefslogtreecommitdiff
path: root/.local/bin/x-terminal-emulator
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/x-terminal-emulator')
-rwxr-xr-x.local/bin/x-terminal-emulator12
1 files changed, 3 insertions, 9 deletions
diff --git a/.local/bin/x-terminal-emulator b/.local/bin/x-terminal-emulator
index f7290b4..049b081 100755
--- a/.local/bin/x-terminal-emulator
+++ b/.local/bin/x-terminal-emulator
@@ -1,10 +1,4 @@
#!/bin/sh
-if [ -x "`which emacsterm`" ]; then
- emacsterm $@
-elif [ -x "`which urxvt`" ]; then
- urxvt $@
-elif [ -x "`which gnome-terminal`" ]; then
- gnome-terminal $@
-elif [ -x "`which xterm`"]; then
- xterm $@
-fi
+
+`pick emacsterm urxvt gnome-terminal xterm` "$@"
+exit $?