config-fish/functions/__flseg_write.fish

12 lines
190 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_write
if not test -w .
__fishline_segment $FLCLR_WRITE_BG $FLCLR_WRITE_FG
printf "$FLSYM_WRITE_LOCK"
end
end