diff options
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | tools/init/check_upstream (renamed from tools/check_upstream) | 0 | ||||
-rwxr-xr-x | tools/init/load-settings.sh (renamed from tools/load-settings.sh) | 2 | ||||
-rwxr-xr-x | tools/init/sync.sh (renamed from tools/sync.sh) | 0 | ||||
-rwxr-xr-x | tools/install.sh | 12 | ||||
-rwxr-xr-x | tools/misc/diff-highlight (renamed from tools/diff-highlight) | 0 | ||||
-rw-r--r-- | tools/misc/mvt_decode.py (renamed from tools/mvt_decode.py) | 0 | ||||
-rwxr-xr-x | tools/misc/refresh-todo.sh (renamed from tools/refresh-todo.sh) | 0 |
8 files changed, 8 insertions, 8 deletions
@@ -26,7 +26,7 @@ tig: | |||
26 | ln -s `pwd`/tigrc ~/.tigrc | 26 | ln -s `pwd`/tigrc ~/.tigrc |
27 | if [ ! -d "$(HOME)/git/tig" ]; then \ | 27 | if [ ! -d "$(HOME)/git/tig" ]; then \ |
28 | git clone --depth=100 --origin my git@github.com:typebrook/tig ~/git/tig; \ | 28 | git clone --depth=100 --origin my git@github.com:typebrook/tig ~/git/tig; \ |
29 | cd ~/git/tig && git remote add origin git@github.com:jonas/tig.git && \ | 29 | cd ~/git/tig && git remote add origin git@github.com:jonas/tig.git; \ |
30 | fi | 30 | fi |
31 | 31 | ||
32 | zsh: | 32 | zsh: |
diff --git a/tools/check_upstream b/tools/init/check_upstream index e9e8841..e9e8841 100755 --- a/tools/check_upstream +++ b/tools/init/check_upstream | |||
diff --git a/tools/load-settings.sh b/tools/init/load-settings.sh index 66ec879..041941a 100755 --- a/tools/load-settings.sh +++ b/tools/init/load-settings.sh | |||
@@ -25,7 +25,7 @@ OSM_UTIL_DIR=$SETTING_DIR/tools/osm | |||
25 | source $OSM_UTIL_DIR/osm | 25 | source $OSM_UTIL_DIR/osm |
26 | 26 | ||
27 | # sync with important git repos | 27 | # sync with important git repos |
28 | $SETTING_DIR/tools/sync.sh | 28 | $SETTING_DIR/tools/init/sync.sh |
29 | 29 | ||
30 | # go | 30 | # go |
31 | PATH=$PATH:$HOME/go/bin | 31 | PATH=$PATH:$HOME/go/bin |
diff --git a/tools/sync.sh b/tools/init/sync.sh index 00ed4b8..00ed4b8 100755 --- a/tools/sync.sh +++ b/tools/init/sync.sh | |||
diff --git a/tools/install.sh b/tools/install.sh index 0b59e28..c765c62 100755 --- a/tools/install.sh +++ b/tools/install.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | #! /usr/bin/env bash | 1 | #! /usr/bin/env bash |
2 | 2 | ||
3 | set -e | 3 | set -xe |
4 | 4 | ||
5 | # Default settings | 5 | # Default settings |
6 | SETTING_DIR=${SETTING_DIR:-~/settings} | 6 | SETTING_DIR=${SETTING_DIR:-~/settings} |
@@ -16,12 +16,12 @@ if [ ! -d $SETTING_DIR ]; then | |||
16 | } | 16 | } |
17 | fi | 17 | fi |
18 | 18 | ||
19 | sed -i "\^# $REPO^, /^$/ d" $RCFILE | 19 | # Write initial commands into .bashrc or .zshrc |
20 | echo " | 20 | sed -i'.bak' "\^# $REPO^, /^$/ d" $RCFILE |
21 | cat >>$RCFILE <<EOF | ||
21 | # $REPO | 22 | # $REPO |
22 | export SETTING_DIR=$SETTING_DIR | 23 | export SETTING_DIR=$SETTING_DIR |
23 | source \$SETTING_DIR/tools/load-settings.sh | 24 | source \$SETTING_DIR/tools/init/load-settings.sh |
24 | " >> $RCFILE && \ | 25 | EOF |
25 | source $RCFILE | ||
26 | 26 | ||
27 | cd "$SETTING_DIR" && make | 27 | cd "$SETTING_DIR" && make |
diff --git a/tools/diff-highlight b/tools/misc/diff-highlight index 08c88bb..08c88bb 100755 --- a/tools/diff-highlight +++ b/tools/misc/diff-highlight | |||
diff --git a/tools/mvt_decode.py b/tools/misc/mvt_decode.py index 0f661dd..0f661dd 100644 --- a/tools/mvt_decode.py +++ b/tools/misc/mvt_decode.py | |||
diff --git a/tools/refresh-todo.sh b/tools/misc/refresh-todo.sh index 7931536..7931536 100755 --- a/tools/refresh-todo.sh +++ b/tools/misc/refresh-todo.sh | |||