From 70abb62283f1a224f8c194323b8c2056561bf354 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 28 Aug 2020 10:11:55 +0800 Subject: update --- tools/load-settings.sh | 6 +----- 1 file changed, 1 insertion(+), 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 source $SETTING_DIR/alias # Add custom scripts into PATH -PATH=$PATH:$SETTING_DIR/tools -find $SETTING_DIR/tools -type d | sed 1d |\ -while read dir; do - PATH=$PATH:$dir -done +find $SETTING_DIR/tools -print0 -type f -executable | xargs -I{} -0 ln -sf {} ~/.local/bin # sync with important git repos $SETTING_DIR/tools/sync.sh -- cgit v1.2.3-70-g09d2