Term: get_term(): ignore kdeinit, #791

This commit is contained in:
Michael Straube 2017-07-28 15:54:14 +02:00
parent af09dc29bf
commit 110e46bc6b
1 changed files with 1 additions and 1 deletions

View File

@ -1701,7 +1701,7 @@ get_term() {
case "${name// }" in
"${SHELL/*\/}" | *"sh" | "tmux"* | "screen" | "su"*) ;;
"login"* | *"Login"* | "init" | "(init)") term="$(tty)" ;;
"ruby" | "1" | "systemd" | "sshd"* | "python"* | "USER"*"PID"*) break ;;
"ruby" | "1" | "systemd" | "sshd"* | "python"* | "USER"*"PID"* | "kdeinit"*) break ;;
"gnome-terminal-") term="gnome-terminal" ;;
*"nvim") term="Neovim Terminal" ;;
*"NeoVimServer"*) term="VimR Terminal" ;;