default-terminal-emulator for tvim
This commit is contained in:
parent
90c59f9b21
commit
17b05cd777
1 changed files with 1 additions and 1 deletions
2
tvim
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…
Reference in a new issue