config-fish/functions/__flseg_vfish.fish
2022-04-22 16:15:09 +02:00

11 lines
234 B
Fish

#!/usr/bin/env fish
# -*- mode:fish; tab-width:4 -*-
function __flseg_vfish
if set -q VIRTUAL_ENV
__fishline_segment $FLCLR_VFISH_BG $FLCLR_VFISH_FG
printf "$FLSYM_VFISH%s" (basename $VIRTUAL_ENV)
end
end