feat: move bash config to config.d

This commit is contained in:
Xavier Logerais 2024-06-13 10:31:44 +02:00
parent 972d7c2390
commit f247a375d8
2 changed files with 9 additions and 8 deletions

View File

@ -1,13 +1,5 @@
#!/bin/bash #!/bin/bash
# Configuration BASH
if [[ ! -d ~/.bash ]]
then
git clone --recursive https://github.com/xlogerais/config-bash.git ~/.bash
bash ~/.bash/create-links.bash
fi
for file in config.d/*.bash for file in config.d/*.bash
do do
bash $file bash $file

9
config.d/bash.bash Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# Configuration BASH
if [[ ! -d ~/.bash ]]
then
git clone --recursive https://github.com/xlogerais/config-bash.git ~/.bash
bash ~/.bash/create-links.bash
fi