diff --git a/nixhome/.bashrc b/nixhome/.bashrc index c61eaef..016295d 100644 --- a/nixhome/.bashrc +++ b/nixhome/.bashrc @@ -151,9 +151,9 @@ elif [ -f /etc/ubuntu_version ]; then MYOSVERSION=Ubt`cat /etc/ubuntu_version 2>/dev/null` fi if [ "$color_prompt" = yes ]; then - PS1='<\[\033[$PSTYLE;${PTYPE}2m\]\t\[\033[00m\]#\[\033[$PSTYLE;${PTYPE}4m\]$MYIPPUB\[\033[00m\]^\[\033[$PSTYLE;${PTYPE}5m\]$(uname -m),$(uname),$MYOSVERSION\[\033[00m\]:\[\033[$PSTYLE;${PTYPE}2m\]\w\[\033[00m\]>\n<\[\033[$PSTYLE;${PTYPE}5m\]\u\[\033[00m\]@\[\033[$PSTYLE;${PTYPE}1m\]\h\[\033[00m\]> ' + PS1='<\[\033[$PSTYLE;${PTYPE}2m\]\t\[\033[00m\]#\[\033[$PSTYLE;${PTYPE}4m\]$MYIPPUB\[\033[00m\]^\[\033[$PSTYLE;${PTYPE}5m\]$(uname -m),$(uname),$MYOSVERSION\[\033[00m\]%\[\033[$PSTYLE;${PTYPE}2m\]\w\[\033[00m\]>\n<\[\033[$PSTYLE;${PTYPE}5m\]\u\[\033[00m\]@\[\033[$PSTYLE;${PTYPE}1m\]\h\[\033[00m\]%\[\033[$PSTYLE;${PTYPE}2m\]\W\[\033[00m\]> ' else - PS1='<\t#$MYIPPUB^$(uname -m),$(uname),$MYOSVERSION:\w>\n<\u@\h> ' # \w shows absolute path, \W shows current folder. + PS1='<\t#$MYIPPUB^$(uname -m),$(uname),$MYOSVERSION%\w>\n<\u@\h%\W> ' # \w shows absolute path, \W shows current folder. fi unset color_prompt force_color_prompt