Fix prompt so it shows the red pipe even when in the home directory

pull/2/head
Kris Leech 12 years ago
parent 73ea47277f
commit 4e89bc5a8f

@ -21,10 +21,10 @@ function fish_prompt
set git_info "$green$git_branch "
if [ (_is_git_dirty) ]
set -l dirty "$yellow "
set -l dirty "$yellow"
set git_info "$git_info$dirty"
end
end
echo -n -s $cwd $red '|'$git_info $normal' '$normal
echo -n -s $cwd $red '|' $git_info $normal ' ' $normal
end

Loading…
Cancel
Save