diff options
Diffstat (limited to 'tools')
-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 |