A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
#!/bin/bash | |
flip_last_branch_name=ongoing-flip-last; | |
git rev-parse --verify $flip_last_branch_name > /dev/null 2>&1; | |
res=$?; | |
if [ "$res" = "0" ]; then | |
echo "An ongoing flip-last is already in progress ($res) ... execute following command to remove it : git branch -D $flip_last_branch_name"; | |
exit -1; | |
fi; |