summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVon Random <von@vdrandom.org>2018-07-17 18:45:59 +0300
committerVon Random <von@vdrandom.org>2018-07-17 18:45:59 +0300
commit17b05cd77786b1a0363d5f93e22e61283742282a (patch)
tree481031e4e7e685cc59dda236cf32760004af73b9
parent90c59f9b216584e95f8d6e48b39f700198b100f0 (diff)
default-terminal-emulator for tvim
-rwxr-xr-xtvim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvim b/tvim
index d79a8dc..45c7fc2 100755
--- a/tvim
+++ b/tvim
@@ -9,7 +9,7 @@ error() {
exit 1
}
-termbin=$(command -v st) || termbin=$(command -v xterm) || error "No terminal found!"
+termbin=$(command -v default-terminal-emulator) || termbin=$(command -v st) || 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