mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-22 22:02:00 +08:00
4 lines
175 B
Fish
4 lines
175 B
Fish
function fish_title
|
|
[ "$theme_display_virtualenv" = 'no' -o -z "$VIRTUAL_ENV" ]; and printf '%s %s' $_ (pwd); and return
|
|
printf '%s %s' (basename "$VIRTUAL_ENV") (pwd)
|
|
end |