terminal: add support for Neovim terminal emulator
This commit is contained in:
parent
55c772a3cf
commit
34800b6665
2
neofetch
2
neofetch
|
@ -1669,6 +1669,8 @@ get_term() {
|
||||||
"login"* | *"Login"* | "init" | "(init)") term="$(tty)" ;;
|
"login"* | *"Login"* | "init" | "(init)") term="$(tty)" ;;
|
||||||
"ruby" | "1" | "systemd" | "sshd"* | "python"* | "USER"*"PID"*) break ;;
|
"ruby" | "1" | "systemd" | "sshd"* | "python"* | "USER"*"PID"*) break ;;
|
||||||
"gnome-terminal-") term="gnome-terminal" ;;
|
"gnome-terminal-") term="gnome-terminal" ;;
|
||||||
|
*"nvim") term="Neovim Terminal" ;;
|
||||||
|
*"NeoVimServer"*) term="VimR Terminal" ;;
|
||||||
*) term="${name##*/}" ;;
|
*) term="${name##*/}" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Reference in New Issue