summaryrefslogtreecommitdiff
path: root/.config/fish/functions/_tide_item_shlvl.fish
blob: 95dd5ff2ef30326ddb24cd45f0bd3bddeae8afe2 (plain)
1
2
3
4
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