From a653bce8ed3bdaab95f84e9a04ecdd781960c30d Mon Sep 17 00:00:00 2001 From: Sebastian Noe Date: Tue, 9 Apr 2024 11:33:19 +0200 Subject: [PATCH] venv display --- functions/fish_prompt.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish index 35a4def..43d21ee 100644 --- a/functions/fish_prompt.fish +++ b/functions/fish_prompt.fish @@ -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