From fdf267e18108763bdd149ac103b7588d403940a7 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 25 Apr 2023 08:48:32 +0800 Subject: Update --- bin/init/load-settings.sh | 2 +- bin/wakeup.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/init/load-settings.sh b/bin/init/load-settings.sh index 11b1b56..960f407 100755 --- a/bin/init/load-settings.sh +++ b/bin/init/load-settings.sh @@ -2,7 +2,7 @@ trap 'exit.sh' EXIT export SETTING_DIR=${SETTING_DIR:=$HOME/helper} export BIN_DIR=~/bin -export PATH=$PATH:$BIN_DIR +export PATH=$BIN_DIR:$PATH export EDITOR=nvim export VISUAL=nvim export TIG_EDITOR=nvim diff --git a/bin/wakeup.sh b/bin/wakeup.sh index 7de5f40..9f6d7a2 100755 --- a/bin/wakeup.sh +++ b/bin/wakeup.sh @@ -1,7 +1,5 @@ #! /bin/bash -set -x - # Add custom scripts into PATH export SETTING_DIR=~/helper export BIN_DIR=$HOME/bin @@ -14,3 +12,6 @@ xargs -I{} ln -sf {} $BIN_DIR # sync with important git repos setsid ~/bin/check-repos.sh + +# Copy context file from vps +rsync -au vps:~/.context ~/.context -- cgit v1.2.3-70-g09d2