mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 04:22:32 +00:00
More Travis fixes
This commit is contained in:
3
neofetch
3
neofetch
@@ -1766,8 +1766,9 @@ getterm () {
|
||||
esac
|
||||
|
||||
case "${name// }" in
|
||||
"${SHELL/*\/}" | *"sh" | "tmux" | "screen" | "systemd" | "sshd" | "ruby") getterm "$parent" ;;
|
||||
"${SHELL/*\/}" | *"sh" | "tmux" | "screen") getterm "$parent" ;;
|
||||
"login" | "init") term="$(tty)"; term=${term/*\/} ;;
|
||||
"ruby" | "1" | "systemd" | "sshd") unset term ;;
|
||||
*) term="$name" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user