actually, fallback only to xterm
This commit is contained in:
parent
17b05cd777
commit
761780524c
1 changed files with 1 additions and 1 deletions
2
tvim
2
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
|
||||
|
|
Loading…
Reference in a new issue