diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-09-06 22:52:23 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-09-06 22:52:23 +0800 |
commit | 465d72aec099a2b522787ad6dc8f72203860c08e (patch) | |
tree | 5eb2bbddae4a0cb3b21c73c7e1aec46a243a9394 /tools/load-settings.sh | |
parent | 2d176d485bf40c12c196a1d2809fe93c6e941df2 (diff) |
update
Diffstat (limited to 'tools/load-settings.sh')
-rwxr-xr-x | tools/load-settings.sh | 7 |
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 | |||
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 | find $SETTING_DIR/tools -print0 -type f -executable | xargs -I{} -0 ln -sf {} ~/.local/bin | 18 | mkdir -p $HOME/.local/bin |
19 | PATH=$PATH:$HOME/.local/bin | ||
20 | |||
21 | find $SETTING_DIR/tools -type f -executable | \ | ||
22 | xargs realpath | \ | ||
23 | xargs -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 |