summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVon Random <von@vdrandom.org>2018-07-17 18:46:59 +0300
committerVon Random <von@vdrandom.org>2018-07-17 18:46:59 +0300
commit761780524c07245e1aeb7f4aac58610cb9ec0a5f (patch)
tree3d4e698ae92ff90967ee10ade6f66b76af717553
parent17b05cd77786b1a0363d5f93e22e61283742282a (diff)
actually, fallback only to xterm
-rwxr-xr-xtvim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvim b/tvim
index 45c7fc2..a6e6070 100755
--- a/tvim
+++ b/tvim
@@ -9,7 +9,7 @@ error() {
exit 1
}
-termbin=$(command -v default-terminal-emulator) || termbin=$(command -v st) || termbin=$(command -v xterm) || error "No terminal found!"
+termbin=$(command -v default-terminal-emulator) || termbin=$(command -v xterm) || error "No terminal found!"
vimbin=$(command -v nvim) || vimbin=$(command -v vim) || error "No vim binary found!"
exec "$termbin" -c tvim -e "$vimbin" "${vimopt[@]}" "$@" &>/dev/null & disown