From 0fb47c30a2f286224cc2c0e269adabbf2b5d576d Mon Sep 17 00:00:00 2001 From: Luk Date: Sat, 7 Feb 2026 14:59:22 +0800 Subject: [PATCH] u --- nixhome/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixhome/.bashrc b/nixhome/.bashrc index 64b8120..42b7609 100644 --- a/nixhome/.bashrc +++ b/nixhome/.bashrc @@ -132,7 +132,7 @@ elif [ -f /etc/debian_version ]; then elif [ -f /etc/ubuntu_version ]; then MYOSVERSION=Ubt`cat /etc/ubuntu_version 2>/dev/null` fi -if [ -n "$SSH_CONNECTION" ] || [ ! "$(uname)" = "Darwin" ]; then +if [[ -n "$SSH_CONNECTION" ]] || [[ ! "$(uname)" = "Darwin" ]]; then IN_SSH="^ssh" fi if [ "$color_prompt" = yes ]; then