config-fish/functions/__flseg_status.fish

12 lines
215 B
Fish
Raw Normal View History

2022-04-22 14:15:09 +00:00
#!/usr/bin/env fish
# -*- mode:fish; tab-width:4 -*-
function __flseg_status
if [ $FLINT_STATUS -gt 0 ]
__fishline_segment $FLCLR_STATUS_BG $FLCLR_STATUS_FG
printf $FLINT_STATUS
end
end