Skip to content

Commit

Permalink
venv display
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Noe committed Apr 9, 2024
1 parent 3f9582b commit a653bce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions functions/fish_prompt.fish
Original file line number Diff line number Diff line change
Expand Up @@ -1212,3 +1212,6 @@ function fish_prompt -d 'bobthefish, a fish theme optimized for awesome'

__bobthefish_finish_segments
end
if set -q VIRTUAL_ENV
echo -n -s (set_color -b blue white) "(" (basename "$VIRTUAL_ENV") ")" (set_color normal) " "
end

0 comments on commit a653bce

Please sign in to comment.