Commit 4e89bc5a authored by Kris Leech's avatar Kris Leech

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

parent 73ea4727
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment