Term: better handling of tmux
This commit is contained in:
parent
bc9e10c51e
commit
22ae5a5bba
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1554,7 +1554,7 @@ getterm() {
|
|||
esac
|
||||
|
||||
case "${name// }" in
|
||||
"${SHELL/*\/}" | *"sh" | "tmux" | "screen") getterm "$parent" ;;
|
||||
"${SHELL/*\/}" | *"sh" | "tmux"* | "screen") getterm "$parent" ;;
|
||||
"login" | "init") term="$(tty)"; term="${term/*\/}" ;;
|
||||
"ruby" | "1" | "systemd" | "sshd"* | "python"*) unset term ;;
|
||||
"gnome-terminal-") term="gnome-terminal" ;;
|
||||
|
|
Loading…
Reference in a new issue