commit bb9311cbabfcf5356e5e8946262d10ee51d5f922 parent 82a79799acdbbd70c1d9498026dd37113ddc6c34 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Mon, 3 Dec 2018 15:02:25 +0100 Modified install script Diffstat:
M | install.sh | | | 7 | +++---- |
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/install.sh b/install.sh @@ -22,6 +22,7 @@ else exit 1 fi +export CONF_DIR="$HOME/.dotfiles" lncommand() { ln -snfv $(pwd)/"$1" "$2"; } @@ -51,9 +52,8 @@ if [ -d "shell" ]; then fi if [ -d "git" ]; then - for i in $(ls git); do - lncommand git/"$i" $HOME/."$i" - done + lncommand git/gitconfig $HOME/.gitconfig + git config --global init.templatedir $CONF_DIR/git/git_template fi if [ -f "other-scripts/gdbinit" ]; then @@ -76,4 +76,3 @@ if [ -d "vim" ]; then lncommand vim/idea.vimrc $HOME/.ideavimrc fi -export CONFDIR="$HOME/.dotfiles"