From b15178da4f6f9da6e39fda409cd330f4c01644d6 Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Sat, 28 Sep 2019 15:27:53 -0400 Subject: Small bug corrected --- .bash_profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 0b0874d..37a0ee7 100644 --- a/.bash_profile +++ b/.bash_profile @@ -30,7 +30,7 @@ LS_COLORS='rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;3 export LS_COLORS leftprompt() { - e=$?; (( $e )) && r="\[$(tput setaf 1)\]<$e>"; + e=$?; (( $e )) && r="\[$(tput setaf 1)\]<$e>" || r=""; p=$(echo ${PWD:-?} | sed "s#.*/\(.*\)/\(.*\)#\1/\2#"); # s#$HOME#~# #${PWD##*/} d=$(date +"%H.%M"); v=$(vcs); @@ -71,7 +71,7 @@ stty -ixon umask 077 set -o emacs -#set -o utf8-mode +shopt -s autocd eval $(keychain --eval --systemd -q) -- cgit v1.2.3