aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xbin/init/load-settings.sh2
-rwxr-xr-xbin/wakeup.sh5
2 files changed, 4 insertions, 3 deletions
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
2 2
3export SETTING_DIR=${SETTING_DIR:=$HOME/helper} 3export SETTING_DIR=${SETTING_DIR:=$HOME/helper}
4export BIN_DIR=~/bin 4export BIN_DIR=~/bin
5export PATH=$PATH:$BIN_DIR 5export PATH=$BIN_DIR:$PATH
6export EDITOR=nvim 6export EDITOR=nvim
7export VISUAL=nvim 7export VISUAL=nvim
8export TIG_EDITOR=nvim 8export 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 @@
1#! /bin/bash 1#! /bin/bash
2 2
3set -x
4
5# Add custom scripts into PATH 3# Add custom scripts into PATH
6export SETTING_DIR=~/helper 4export SETTING_DIR=~/helper
7export BIN_DIR=$HOME/bin 5export BIN_DIR=$HOME/bin
@@ -14,3 +12,6 @@ xargs -I{} ln -sf {} $BIN_DIR
14 12
15# sync with important git repos 13# sync with important git repos
16setsid ~/bin/check-repos.sh 14setsid ~/bin/check-repos.sh
15
16# Copy context file from vps
17rsync -au vps:~/.context ~/.context