diff options
-rw-r--r-- | alias | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -198,11 +198,13 @@ check_repo() { | |||
198 | [[ -n $(git cherry origin) ]] 2>/dev/null && print "\e[31m[ahead]\e[0m" | 198 | [[ -n $(git cherry origin) ]] 2>/dev/null && print "\e[31m[ahead]\e[0m" |
199 | } | 199 | } |
200 | check() { | 200 | check() { |
201 | DIR=`pwd` | ||
201 | check_repo $SETTING_DIR | 202 | check_repo $SETTING_DIR |
202 | check_repo $HOME/.password-store | 203 | check_repo $HOME/.password-store |
203 | check_repo $HOME/vimwiki | 204 | check_repo $HOME/vimwiki |
204 | check_repo $HOME/.task | 205 | check_repo $HOME/.task |
205 | check_repo $HOME/bean | 206 | check_repo $HOME/bean |
207 | cd $DIR | ||
206 | } | 208 | } |
207 | alias ch='check' | 209 | alias ch='check' |
208 | 210 | ||