fix git dirty

localirc
Ben Harris 2018-11-12 10:52:44 -05:00
parent 00740f24e6
commit 14aceff961
3 changed files with 4 additions and 3 deletions

View File

@ -2,3 +2,4 @@ function is_git_ahead
set -l revs (git rev-list origin/(git_branch)..HEAD ^/dev/null)
[ "$revs" != "" ]
end

View File

@ -1,3 +1,3 @@
function is_git_dirty
is_git; and [ (git status | tail -n1) != "nothing to commit, working tree clean" ]
is_git; and git diff --cached --quiet
end

View File

@ -221,7 +221,7 @@ hashbang.local_hostname
hashbang.usermode
hashbang.command = "/oper benharri x"
hashbang.command_delay
hashbang.autojoin = "#!dots,#dots,#!,#!social,#!os,#!politics,#!space,#!support,#!opers"
hashbang.autojoin = "#!opers,#!support,#!space,#!politics,#!os,#!social,#!,#dots"
hashbang.autorejoin
hashbang.autorejoin_delay
hashbang.connection_timeout