terminal: add support for Neovim terminal emulator
This commit is contained in:
parent
55c772a3cf
commit
34800b6665
1 changed files with 2 additions and 0 deletions
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
|
||||||
|
|
Loading…
Reference in a new issue