2025-11-05 14:30:26 +01:00
|
|
|
function fish_prompt
|
2025-12-30 16:39:08 +01:00
|
|
|
if not set -q VIRTUAL_ENV_DISABLE_PROMPT
|
|
|
|
|
set -g VIRTUAL_ENV_DISABLE_PROMPT true
|
|
|
|
|
end
|
2026-02-11 20:06:51 +01:00
|
|
|
|
|
|
|
|
set_color brwhite --background 504945
|
2025-12-30 16:39:08 +01:00
|
|
|
set -g __fish_git_prompt_show_informative_status true
|
|
|
|
|
printf '%s' (fish_git_prompt " %s ")
|
2025-12-30 16:27:17 +01:00
|
|
|
|
2026-02-11 20:06:51 +01:00
|
|
|
set_color white --background 3c3836
|
2025-12-30 16:39:08 +01:00
|
|
|
printf ' %s ' (prompt_pwd -D 8)
|
2025-12-30 16:27:17 +01:00
|
|
|
|
2025-12-30 16:39:08 +01:00
|
|
|
echo
|
2025-12-30 16:27:17 +01:00
|
|
|
|
2025-12-30 16:39:08 +01:00
|
|
|
if test -n "$VIRTUAL_ENV"
|
|
|
|
|
printf "(%s) " (set_color blue)(path basename $VIRTUAL_ENV)(set_color normal)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
set_color normal
|
|
|
|
|
echo
|
2025-09-06 23:01:45 +02:00
|
|
|
end
|