G
Ryan's Git Repos
guix-dotfiles
files
log
graph
refs
Ref
broken-new-portal
main
new-bootloader-next
pres
home-config/fish/functions/_tide_item_shlvl.fish
new-bootloader-next
· 209 B · 4 lines
raw
1
function
_tide_item_shlvl
2
# Non-interactive shells do not increment SHLVL, so we don't need to subtract 1
3
test
$SHLVL -gt $tide_shlvl_threshold &&
_tide_print_item
shlvl $tide_shlvl_icon
' '
$SHLVL
4
end