From 9fad039627f9cb46267316b115541460548dffb5 Mon Sep 17 00:00:00 2001 From: Luk Date: Sat, 7 Feb 2026 15:50:34 +0800 Subject: [PATCH] u --- nixhome/.bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixhome/.bashrc b/nixhome/.bashrc index 3826aa3..8a564e3 100644 --- a/nixhome/.bashrc +++ b/nixhome/.bashrc @@ -135,12 +135,12 @@ elif [ -f /etc/ubuntu_version ]; then MYOSVERSION=Ubt`cat /etc/ubuntu_version 2>/dev/null` fi if [[ -n "$SSH_CONNECTION" ]] || [[ "$(uname)" != "Darwin" ]]; then - IN_SSH=">ssh" + IN_SSH="ssh$" fi if [ "$color_prompt" = yes ]; then - PS1='<\[\033[07;32m\]\t\[\033[00m\]#\[\033[07;35m\]\u\[\033[00m\]@\[\033[07;31m\]\h\[\033[00m\]=\[\033[07;34m\]$(uname -m),$(uname),$MYOSVERSION\[\033[00m\]:\[\033[07;36m\]\w\[\033[00m\]$IN_SSH> ' + PS1='<\[\033[07;32m\]\t\[\033[00m\]#\[\033[07;35m\]\u\[\033[00m\]@\[\033[07;31m\]\h\[\033[00m\]=\[\033[07;34m\]$(uname -m),$(uname),$MYOSVERSION\[\033[00m\]:\[\033[07;36m\]\w\[\033[00m\]>$IN_SSH ' else - PS1='<\t#\u@\h=$(uname -m),$(uname),$MYOSVERSION:\w$IN_SSH> ' # \w shows absolute path, \W shows current folder. + PS1='<\t#\u@\h=$(uname -m),$(uname),$MYOSVERSION:\w>$IN_SSH ' # \w shows absolute path, \W shows current folder. fi unset color_prompt force_color_prompt