aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xtools/init/check_upstream (renamed from tools/check_upstream)0
-rwxr-xr-xtools/init/load-settings.sh (renamed from tools/load-settings.sh)2
-rwxr-xr-xtools/init/sync.sh (renamed from tools/sync.sh)0
-rwxr-xr-xtools/install.sh12
-rwxr-xr-xtools/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-xtools/misc/refresh-todo.sh (renamed from tools/refresh-todo.sh)0
8 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 7a13c17..aa0016e 100644
--- a/Makefile
+++ b/Makefile
@@ -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
32zsh: 32zsh:
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
25source $OSM_UTIL_DIR/osm 25source $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
31PATH=$PATH:$HOME/go/bin 31PATH=$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
3set -e 3set -xe
4 4
5# Default settings 5# Default settings
6SETTING_DIR=${SETTING_DIR:-~/settings} 6SETTING_DIR=${SETTING_DIR:-~/settings}
@@ -16,12 +16,12 @@ if [ ! -d $SETTING_DIR ]; then
16 } 16 }
17fi 17fi
18 18
19sed -i "\^# $REPO^, /^$/ d" $RCFILE 19# Write initial commands into .bashrc or .zshrc
20echo " 20sed -i'.bak' "\^# $REPO^, /^$/ d" $RCFILE
21cat >>$RCFILE <<EOF
21# $REPO 22# $REPO
22export SETTING_DIR=$SETTING_DIR 23export SETTING_DIR=$SETTING_DIR
23source \$SETTING_DIR/tools/load-settings.sh 24source \$SETTING_DIR/tools/init/load-settings.sh
24" >> $RCFILE && \ 25EOF
25source $RCFILE
26 26
27cd "$SETTING_DIR" && make 27cd "$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