Improved config setup via install.sh

This commit is contained in:
2021-07-22 10:11:45 -07:00
parent b2d188344e
commit ea3717a930
11 changed files with 2814 additions and 5 deletions

5
.gitignore vendored
View File

@@ -1,5 +1,4 @@
*.swp *.swp
*.swo *.swo
vim/bundle config/.vim/autoload
vim/autoload config/.vim/plugged
vim/plugged

File diff suppressed because it is too large Load Diff

View File

@@ -6,7 +6,8 @@ else
SCRIPTS=${HOME}/devel/scripts SCRIPTS=${HOME}/devel/scripts
fi fi
find ${SCRIPTS}/config -name .\* -type f -exec ln \{\} . \; find ${SCRIPTS}/config -name .\* -type f -exec ln -i \{\} . \;
find ${SCRIPTS}/config -name .\* -type d -exec ln -i -s \{\} . \;
#mkdir -p .vim/autoload .vim/bundle #mkdir -p .vim/autoload .vim/bundle
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
@@ -15,4 +16,12 @@ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
# git clone https://github.com/VundleVim/Vundle.vim.git .vim/bundle/Vundle.vim # git clone https://github.com/VundleVim/Vundle.vim.git .vim/bundle/Vundle.vim
# [ -x ~/.bashrc.vahagn ] && source ~/.bashrc.vahagn #
# Add .bashrc.vahagn to .bashrc
#
grep .bashrc.vahagn .bashrc
if [ $? != 0 ]; then
printf "# Load Vahagn's standard environment.\n"
printf "[ -f ~/.bashrc.vahagn ] && source ~/.bashrc.vahagn\n" >> .bashrc
printf "[ -f ~/.bashrc.local ] && source ~/.bashrc.local\n" >> .bashrc
fi