config-bootstrap/config.bash

32 lines
541 B
Bash
Raw Normal View History

2022-05-21 02:30:05 +02:00
#!/bin/bash
2023-06-07 09:45:55 +02:00
for file in config.d/*.bash
do
bash $file
done
2022-05-21 02:30:05 +02:00
# Configuration BASH
if [[ ! -d ~/.bash ]]
then
git clone --recursive https://github.com/xlogerais/config-bash.git ~/.bash
bash ~/.bash/create-links.bash
fi
# Configuration VIM
if [[ ! -d ~/.vim ]]
then
git clone --recursive https://github.com/xlogerais/config-vim.git ~/.vim
bash ~/.vim/create-links.bash
fi
# Configuration NVIM
if [[ ! -d ~/.config/nvim ]]
then
git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
nvim +PackerSync
fi