diff options
| -rwxr-xr-x | scripts/check_upstream | 1 | ||||
| -rwxr-xr-x | scripts/load-settings.sh | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/scripts/check_upstream b/scripts/check_upstream index 9f20037..e96a450 100755 --- a/scripts/check_upstream +++ b/scripts/check_upstream | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | # check $1(repo) if upstream branch origin/master is | 4 | # check $1(repo) if upstream branch origin/master is |
| 5 | # ahead of local branch $2(default to dev) | 5 | # ahead of local branch $2(default to dev) |
| 6 | 6 | ||
| 7 | |||
| 8 | if [ ! -d $1 ]; then | 7 | if [ ! -d $1 ]; then |
| 9 | return 0 | 8 | return 0 |
| 10 | fi | 9 | fi |
diff --git a/scripts/load-settings.sh b/scripts/load-settings.sh index 94e4bfc..1bc936f 100755 --- a/scripts/load-settings.sh +++ b/scripts/load-settings.sh | |||
| @@ -5,5 +5,11 @@ fi | |||
| 5 | # load custom aliases | 5 | # load custom aliases |
| 6 | source $SETTING_DIR/alias.sh | 6 | source $SETTING_DIR/alias.sh |
| 7 | 7 | ||
| 8 | # Add custom scripts into PATH | ||
| 8 | PATH=$PATH:$SETTING_DIR/scripts | 9 | PATH=$PATH:$SETTING_DIR/scripts |
| 10 | |||
| 11 | # sync with important git repos | ||
| 9 | $SETTING_DIR/scripts/sync.sh | 12 | $SETTING_DIR/scripts/sync.sh |
| 13 | |||
| 14 | # load custom functions | ||
| 15 | source $SETTING_DIR/utils/osm | ||