feat: split configuration

This commit is contained in:
Xavier Logerais
2023-06-07 09:45:55 +02:00
parent 4a23f68fd1
commit a71137b234
4 changed files with 30 additions and 19 deletions

View File

@ -1,9 +1,10 @@
#!/bin/bash
# Configuration GIT
git config --global user.name "Xavier Logerais"
git config --global user.email "xavier@logerais.com"
for file in config.d/*.bash
do
bash $file
done
# Configuration BASH
@ -28,19 +29,3 @@ then
git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
nvim +PackerSync
fi
# Configuration SCREEN
if [[ ! -d ~/.screen ]]
then
git clone --recursive https://github.com/xlogerais/config-screen.git ~/.screen
bash ~/.screen/create-links.bash
fi
# Configuration TMUX
if [[ ! -d ~/.tmux ]]
then
git clone --recursive https://github.com/xlogerais/config-tmux.git ~/.tmux
bash ~/.tmux/create-links.bash
fi