Merge pull request #793 from mstraube/kdeinit

Term: get_term(): ignore kdeinit, #791
This commit is contained in:
Dylan Araps 2017-07-29 20:36:41 +10:00 committed by GitHub
commit fde69ea812
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" ;;