Created
September 29, 2015 19:56
-
-
Save Ikke/64858046d15426aad19f to your computer and use it in GitHub Desktop.
Git status that automatically updates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true; | |
do | |
sleep 0.005 | |
ST=$(git -c color.ui=always status -sb); | |
tput reset; | |
echo -e "$ST"; | |
inotifywait -qqr .; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment