mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 12:37:16 +00:00
2
neofetch
2
neofetch
@@ -1686,7 +1686,7 @@ get_term() {
|
|||||||
# Check $PPID for terminal emulator.
|
# Check $PPID for terminal emulator.
|
||||||
while [[ -z "$term" ]]; do
|
while [[ -z "$term" ]]; do
|
||||||
if [[ "$SSH_CONNECTION" ]]; then
|
if [[ "$SSH_CONNECTION" ]]; then
|
||||||
term="$SSH_TTY"
|
term="$SSH_TTY"; break
|
||||||
else
|
else
|
||||||
parent="$(get_ppid "$parent")"
|
parent="$(get_ppid "$parent")"
|
||||||
[[ -z "$parent" ]] && break
|
[[ -z "$parent" ]] && break
|
||||||
|
|||||||
Reference in New Issue
Block a user