From 337bce703095b79636730d2dde97ec508cf902f3 Mon Sep 17 00:00:00 2001 From: waldek Date: Wed, 24 Aug 2022 23:08:03 +0200 Subject: [PATCH] fixes sources dir --- bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index db242ba..e6eb794 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -5,7 +5,7 @@ EMAIL="waldek@mailbox.org" DEPENDENCIES_APT="zsh git tig tmux vim-nox htop python3 python3-pip" DEPENDENCIES_PIP="xonsh" -SOURCES_DIR=~/sources +SOURCES_DIR=~/sources/gitea_irisib BOOTSTRAP_DIR=~/sources/gitea_irisib/bootstrap CUSTOM_ZSHRC=$BOOTSTRAP_DIR/custom.zsh CUSTOM_ENV=$BOOTSTRAP_DIR/env.sh @@ -55,7 +55,7 @@ EOF } function clone_bootstrap_to_sources_dir () { - local dst=~/sources/bootstrap + local dst=$BOOTSTRAP_DIR if ! [[ -d $dst ]]; then git clone ssh://gitea@86thumbs.net:3022/waldek/bootstrap.git $dst && echo "cloned bootstrap dir" else @@ -90,7 +90,7 @@ function customize_oh_my_zsh () { } function clone_and_setup_vimrc () { - local dst=~/sources/gitea_irisib/vimrc + local dst=$SOURCES_DIR/vimrc if ! [[ -d $dst ]]; then git clone ssh://gitea@86thumbs.net:3022/waldek/vimrc.git $dst && echo "cloned bootstrap dir" ln -s $dst/main.vimrc ~/.vimrc