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

11 lines
243 B
Fish

#!/usr/bin/env fish
# -*- mode:fish; tab-width:4 -*-
function __flseg_conda
if set -q CONDA_DEFAULT_ENV
__fishline_segment $FLCLR_CONDA_BG $FLCLR_CONDA_FG
printf "$FLSYM_CONDA"(basename $CONDA_DEFAULT_ENV)
end
end