terminal: add support for Neovim terminal emulator

This commit is contained in:
LER0ever 2017-06-15 18:46:59 +08:00
parent 55c772a3cf
commit 34800b6665
1 changed files with 2 additions and 0 deletions

View File

@ -1669,6 +1669,8 @@ get_term() {
"login"* | *"Login"* | "init" | "(init)") term="$(tty)" ;;
"ruby" | "1" | "systemd" | "sshd"* | "python"* | "USER"*"PID"*) break ;;
"gnome-terminal-") term="gnome-terminal" ;;
*"nvim") term="Neovim Terminal" ;;
*"NeoVimServer"*) term="VimR Terminal" ;;
*) term="${name##*/}" ;;
esac
fi