This commit is contained in:
Luk
2026-02-07 14:56:25 +08:00
parent 60e06abd72
commit 01ab07c7ea

View File

@@ -132,7 +132,7 @@ elif [ -f /etc/debian_version ]; then
elif [ -f /etc/ubuntu_version ]; then elif [ -f /etc/ubuntu_version ]; then
MYOSVERSION=Ubt`cat /etc/ubuntu_version 2>/dev/null` MYOSVERSION=Ubt`cat /etc/ubuntu_version 2>/dev/null`
fi fi
if [[ -n "$SSH_CONNECTION" ]]; then if [ -n "$SSH_CONNECTION" ] || [ "$(uname)" != "Darwin" ]; then
IN_SSH="^ssh" IN_SSH="^ssh"
fi fi
if [ "$color_prompt" = yes ]; then if [ "$color_prompt" = yes ]; then