diff options
author | Von Random <von@vdrandom.org> | 2018-07-17 18:46:59 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2018-07-17 18:46:59 +0300 |
commit | 761780524c07245e1aeb7f4aac58610cb9ec0a5f (patch) | |
tree | 3d4e698ae92ff90967ee10ade6f66b76af717553 | |
parent | 17b05cd77786b1a0363d5f93e22e61283742282a (diff) |
actually, fallback only to xterm
-rwxr-xr-x | tvim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |