fixes sources dir
This commit is contained in:
parent
c0ce23f9b0
commit
337bce7030
|
@ -5,7 +5,7 @@ EMAIL="waldek@mailbox.org"
|
||||||
DEPENDENCIES_APT="zsh git tig tmux vim-nox htop python3 python3-pip"
|
DEPENDENCIES_APT="zsh git tig tmux vim-nox htop python3 python3-pip"
|
||||||
DEPENDENCIES_PIP="xonsh"
|
DEPENDENCIES_PIP="xonsh"
|
||||||
|
|
||||||
SOURCES_DIR=~/sources
|
SOURCES_DIR=~/sources/gitea_irisib
|
||||||
BOOTSTRAP_DIR=~/sources/gitea_irisib/bootstrap
|
BOOTSTRAP_DIR=~/sources/gitea_irisib/bootstrap
|
||||||
CUSTOM_ZSHRC=$BOOTSTRAP_DIR/custom.zsh
|
CUSTOM_ZSHRC=$BOOTSTRAP_DIR/custom.zsh
|
||||||
CUSTOM_ENV=$BOOTSTRAP_DIR/env.sh
|
CUSTOM_ENV=$BOOTSTRAP_DIR/env.sh
|
||||||
|
@ -55,7 +55,7 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
function clone_bootstrap_to_sources_dir () {
|
function clone_bootstrap_to_sources_dir () {
|
||||||
local dst=~/sources/bootstrap
|
local dst=$BOOTSTRAP_DIR
|
||||||
if ! [[ -d $dst ]]; then
|
if ! [[ -d $dst ]]; then
|
||||||
git clone ssh://gitea@86thumbs.net:3022/waldek/bootstrap.git $dst && echo "cloned bootstrap dir"
|
git clone ssh://gitea@86thumbs.net:3022/waldek/bootstrap.git $dst && echo "cloned bootstrap dir"
|
||||||
else
|
else
|
||||||
|
@ -90,7 +90,7 @@ function customize_oh_my_zsh () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function clone_and_setup_vimrc () {
|
function clone_and_setup_vimrc () {
|
||||||
local dst=~/sources/gitea_irisib/vimrc
|
local dst=$SOURCES_DIR/vimrc
|
||||||
if ! [[ -d $dst ]]; then
|
if ! [[ -d $dst ]]; then
|
||||||
git clone ssh://gitea@86thumbs.net:3022/waldek/vimrc.git $dst && echo "cloned bootstrap dir"
|
git clone ssh://gitea@86thumbs.net:3022/waldek/vimrc.git $dst && echo "cloned bootstrap dir"
|
||||||
ln -s $dst/main.vimrc ~/.vimrc
|
ln -s $dst/main.vimrc ~/.vimrc
|
||||||
|
|
Loading…
Reference in New Issue