feat: various cleans
This commit is contained in:
@@ -16,7 +16,6 @@ function git-refresh --on-variable PWD \
|
||||
if test -f $fetch_head
|
||||
set --local age (math (date +%s) - (stat -c %Y $fetch_head 2>/dev/null; or stat -f %m $fetch_head))
|
||||
if test $age -lt $GIT_REFRESH_TIMEOUT
|
||||
echo -e "\e[1m(git-refresh) - Cooldown: "(math $GIT_REFRESH_TIMEOUT - $age)"s remaining\e[0m"
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user