dotfiles/fish/functions/_tide_item_shlvl.fish

5 lines
209 B
Fish
Raw Permalink Normal View History

2023-10-08 22:26:07 -05:00
function _tide_item_shlvl
# Non-interactive shells do not increment SHLVL, so we don't need to subtract 1
test $SHLVL -gt $tide_shlvl_threshold && _tide_print_item shlvl $tide_shlvl_icon' ' $SHLVL
end