default-terminal-emulator for tvim

master
Von Random 4 years ago
parent 90c59f9b21
commit 17b05cd777
  1. 2
      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

Loading…
Cancel
Save