From fe8327560ca95571cf6f2ce4762377a112cd815d Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 5 May 2023 14:08:59 +0800 Subject: Update --- bin/wakeup.sh | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'bin') diff --git a/bin/wakeup.sh b/bin/wakeup.sh index d286088..4ceee6a 100755 --- a/bin/wakeup.sh +++ b/bin/wakeup.sh @@ -1,19 +1,3 @@ #! /bin/bash -# Add custom scripts into PATH -export SETTING_DIR=~/helper -export BIN_DIR=$HOME/bin -export PATH=$BIN_DIR:$PATH - -mkdir -p $BIN_DIR -find $BIN_DIR -xtype l -exec rm {} + 2>/dev/null -find $SETTING_DIR/bin -type f -executable -exec realpath {} + | \ -xargs -I{} ln -sf {} $BIN_DIR - -# sync with important git repos -setsid ~/bin/sync.sh &>>/tmp/sync - -# Copy context file from vps -rsync -au vps:~/.context ~/.context - -date >>/tmp/wakeup +date --iso-8601=minutes >~/.wakeup -- cgit v1.2.3-70-g09d2