diff --git a/config.bash b/config.bash index c025b9c..eafada3 100644 --- a/config.bash +++ b/config.bash @@ -1,13 +1,5 @@ #!/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 do bash $file diff --git a/config.d/bash.bash b/config.d/bash.bash new file mode 100644 index 0000000..66b2d68 --- /dev/null +++ b/config.d/bash.bash @@ -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