aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
Diffstat (limited to 'alias')
-rw-r--r--alias10
1 files changed, 8 insertions, 2 deletions
diff --git a/alias b/alias
index 8e54528..6c03012 100644
--- a/alias
+++ b/alias
@@ -452,9 +452,15 @@ alias stew='cd ~/git/mapstew'
452alias tw='tiddlywiki' 452alias tw='tiddlywiki'
453alias tw='tiddlywiki' 453alias tw='tiddlywiki'
454alias vc='vultr-cli' 454alias vc='vultr-cli'
455check_repo() {
456 cd $1
457 echo check $1
458 git status -s
459 [[ -n $(git cherry origin) ]] 2>/dev/null && local status="\e[31m[ahead]\e[0m"
460}
455check() { 461check() {
456 cd $SETTING_DIR && echo check `pwd` && git status -s 462 check_repo $SETTING_DIR
457 cd $HOME/.password-store && echo check `pwd` && git status -s 463 check_repo $HOME/.password-store
458} 464}
459 465
460TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' 466TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305'