aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/load-settings.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/load-settings.sh')
-rwxr-xr-xtools/load-settings.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/load-settings.sh b/tools/load-settings.sh
index 3f210c7..073abf7 100755
--- a/tools/load-settings.sh
+++ b/tools/load-settings.sh
@@ -15,7 +15,12 @@ export EDITOR=vim
15source $SETTING_DIR/alias 15source $SETTING_DIR/alias
16 16
17# Add custom scripts into PATH 17# Add custom scripts into PATH
18find $SETTING_DIR/tools -print0 -type f -executable | xargs -I{} -0 ln -sf {} ~/.local/bin 18mkdir -p $HOME/.local/bin
19PATH=$PATH:$HOME/.local/bin
20
21find $SETTING_DIR/tools -type f -executable | \
22xargs realpath | \
23xargs -I{} ln -sf {} $HOME/.local/bin
19 24
20# sync with important git repos 25# sync with important git repos
21$SETTING_DIR/tools/sync.sh 26$SETTING_DIR/tools/sync.sh