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
commit bcf3d2c3aeb72f8d295af6d19cfcdaefeb04dd18 | |
Author: Gareth Stockwell <none> | |
AuthorDate: Fri Jun 8 09:02:18 2012 +0100 | |
Commit: Gareth Stockwell <none> | |
CommitDate: Fri Jun 8 09:02:18 2012 +0100 | |
Add missing tag types | |
diff --git a/coloredlogcat.py b/coloredlogcat.py | |
index d46dbf6..666231f 100644 |
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
# bds = branch description show | |
# From https://gist.github.com/jeenuv/3145db36eb2a27ba022a | |
bds = "!f() { \ | |
head=$(git symbolic-ref --short HEAD); \ | |
git for-each-ref refs/heads --format='%(refname:short)' | \ | |
while read br; do \ | |
desc=$(git config --get branch.$br.description | head -n1); \ | |
if [ \"$head\" = \"$br\" ]; then \ | |
printf '* \\033[0;32m%-30s\\033[0m %s\\n' \"$br\" \"$desc\"; \ | |
else \ |
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
# bds = branch description show | |
# From https://gist.github.com/jeenuv/3145db36eb2a27ba022a | |
bds = "!f() { \ | |
head=$(git symbolic-ref --short HEAD); \ | |
git for-each-ref refs/heads --format='%(refname:short)' | \ | |
while read br; do \ | |
desc=$(git config --get branch.$br.description | head -n1); \ | |
if [ \"$head\" = \"$br\" ]; then \ | |
printf '* %-30s%-10s %s\\n' \"$(tput setaf 2)$br$(tput setaf 9)\" \"\" \"$desc\"; \ | |
else \ |