feat: split configuration
This commit is contained in:
parent
a71137b234
commit
44f048b06e
24
config.bash
24
config.bash
@ -1,11 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
for file in config.d/*.bash
|
||||
do
|
||||
bash $file
|
||||
done
|
||||
|
||||
# Configuration BASH
|
||||
|
||||
if [[ ! -d ~/.bash ]]
|
||||
@ -14,18 +8,8 @@ then
|
||||
bash ~/.bash/create-links.bash
|
||||
fi
|
||||
|
||||
# Configuration VIM
|
||||
for file in config.d/*.bash
|
||||
do
|
||||
bash $file
|
||||
done
|
||||
|
||||
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
|
||||
|
10
config.d/nvim.bash
Normal file
10
config.d/nvim.bash
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Configuration NVIM
|
||||
|
||||
if [[ ! -d ~/.config/nvim ]]
|
||||
then
|
||||
git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
|
||||
nvim +PackerSync
|
||||
fi
|
||||
|
11
config.d/vim.bash
Normal file
11
config.d/vim.bash
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Configuration VIM
|
||||
|
||||
if [[ ! -d ~/.vim ]]
|
||||
then
|
||||
git clone --recursive https://github.com/xlogerais/config-vim.git ~/.vim
|
||||
bash ~/.vim/create-links.bash
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user