aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-02-07 11:28:44 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-02-07 11:28:44 +0800
commite1e64d967d43a450c151313413de0e98d2ccab1e (patch)
tree98b031dcb4840d3afda8f814f5f3c1c0f48c2f7b /alias
parent4b7ea71ebb22802f2c76c8a22d1ef3d03099ad63 (diff)
foo
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'