fish config
This commit is contained in:
5
dot_config/private_fish/functions/my_venv_prompt.fish
Normal file
5
dot_config/private_fish/functions/my_venv_prompt.fish
Normal file
@@ -0,0 +1,5 @@
|
||||
function my_venv_prompt -d "Custom venv prompt part"
|
||||
if set -q VIRTUAL_ENV
|
||||
echo -n -s (set_color -b blue white) "(" (basename "$VIRTUAL_ENV") ")" (set_color normal) " "
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user