|
@@ -181,6 +181,9 @@ function fish_prompt -d "Write out the left prompt of the syl20bnr theme"
|
|
|
set ps_end $ps_end$ps_end
|
|
|
end
|
|
|
# last status give the color of the right arrows at the end of the prompt
|
|
|
+ if set -q VIRTUAL_ENV
|
|
|
+ echo -n -s (set_color -b blue white) "[" (basename "$VIRTUAL_ENV") "]" (set_color normal) " "
|
|
|
+ end
|
|
|
if test $last_status -ne 0
|
|
|
set ps_end $colnormal$colbred$ps_end
|
|
|
else
|