aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-11-09 18:23:04 +0800
committertypebrook <typebrook@gmail.com>2019-11-09 18:23:04 +0800
commitd70ecd3278c17f222b513008820a9cf43914ec03 (patch)
treed3424803ad565d3da6ea835ea279093d53360e92
parentdaafd7355f94e059c63c8cfa236845abf94f3855 (diff)
update
-rw-r--r--Makefile4
-rwxr-xr-xscripts/load-settings.sh (renamed from scripts/my-settings.sh)1
2 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f9ef05e..8db654c 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,3 @@ wiki:
32 32
33crontab: 33crontab:
34 (crontab -l 2>/dev/null; cat scripts/*.cron) | crontab - 34 (crontab -l 2>/dev/null; cat scripts/*.cron) | crontab -
35
36# some fix needed
37bashrc:
38 echo "~/git/settings/scripts/sync.sh" >> ~/.bashrc
diff --git a/scripts/my-settings.sh b/scripts/load-settings.sh
index e21aecd..94e4bfc 100755
--- a/scripts/my-settings.sh
+++ b/scripts/load-settings.sh
@@ -2,6 +2,7 @@ if [[ -z "$SETTING_DIR" ]]; then
2 SETTING_DIR=$HOME/settings 2 SETTING_DIR=$HOME/settings
3fi 3fi
4 4
5# load custom aliases
5source $SETTING_DIR/alias.sh 6source $SETTING_DIR/alias.sh
6 7
7PATH=$PATH:$SETTING_DIR/scripts 8PATH=$PATH:$SETTING_DIR/scripts