diff options
-rwxr-xr-x | bin/init/load-settings.sh | 2 | ||||
-rwxr-xr-x | bin/wakeup.sh | 5 |
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 | ||
3 | export SETTING_DIR=${SETTING_DIR:=$HOME/helper} | 3 | export SETTING_DIR=${SETTING_DIR:=$HOME/helper} |
4 | export BIN_DIR=~/bin | 4 | export BIN_DIR=~/bin |
5 | export PATH=$PATH:$BIN_DIR | 5 | export PATH=$BIN_DIR:$PATH |
6 | export EDITOR=nvim | 6 | export EDITOR=nvim |
7 | export VISUAL=nvim | 7 | export VISUAL=nvim |
8 | export TIG_EDITOR=nvim | 8 | 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 @@ | |||
1 | #! /bin/bash | 1 | #! /bin/bash |
2 | 2 | ||
3 | set -x | ||
4 | |||
5 | # Add custom scripts into PATH | 3 | # Add custom scripts into PATH |
6 | export SETTING_DIR=~/helper | 4 | export SETTING_DIR=~/helper |
7 | export BIN_DIR=$HOME/bin | 5 | export 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 |
16 | setsid ~/bin/check-repos.sh | 14 | setsid ~/bin/check-repos.sh |
15 | |||
16 | # Copy context file from vps | ||
17 | rsync -au vps:~/.context ~/.context | ||