diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-08-28 10:11:55 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-08-28 10:11:55 +0800 |
commit | 70abb62283f1a224f8c194323b8c2056561bf354 (patch) | |
tree | 0a82283aa8125503a714d447412b329db130ec8f | |
parent | 3ad956f77c2673d1566f6ef00fabb850310b152d (diff) |
update
-rwxr-xr-x | tools/load-settings.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/load-settings.sh b/tools/load-settings.sh index d933372..3f210c7 100755 --- a/tools/load-settings.sh +++ b/tools/load-settings.sh | |||
@@ -15,11 +15,7 @@ export EDITOR=vim | |||
15 | source $SETTING_DIR/alias | 15 | source $SETTING_DIR/alias |
16 | 16 | ||
17 | # Add custom scripts into PATH | 17 | # Add custom scripts into PATH |
18 | PATH=$PATH:$SETTING_DIR/tools | 18 | find $SETTING_DIR/tools -print0 -type f -executable | xargs -I{} -0 ln -sf {} ~/.local/bin |
19 | find $SETTING_DIR/tools -type d | sed 1d |\ | ||
20 | while read dir; do | ||
21 | PATH=$PATH:$dir | ||
22 | done | ||
23 | 19 | ||
24 | # sync with important git repos | 20 | # sync with important git repos |
25 | $SETTING_DIR/tools/sync.sh | 21 | $SETTING_DIR/tools/sync.sh |