Add margin inside if statements
This commit is contained in:
36
bootstrap.sh
36
bootstrap.sh
@@ -60,39 +60,33 @@ fi
|
||||
|
||||
# Install all configs
|
||||
if [ "$1" = "-S" ] ; then
|
||||
|
||||
|
||||
# Create symlinks
|
||||
for config in "${!configs[@]}"
|
||||
do
|
||||
# Create symlinks
|
||||
for config in "${!configs[@]}"
|
||||
do
|
||||
ln -s $config ${configs[$config]}
|
||||
done
|
||||
done
|
||||
|
||||
# Install packer.nvim
|
||||
mkdir ~/.local/share/nvim/site/pack
|
||||
git clone --depth 1 https://github.com/wbthomason/packer.nvim \
|
||||
# Install packer.nvim
|
||||
mkdir ~/.local/share/nvim/site/pack
|
||||
git clone --depth 1 https://github.com/wbthomason/packer.nvim \
|
||||
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||
|
||||
# Install vim plugins
|
||||
nvim -c "PackerInstall"
|
||||
# Install vim plugins
|
||||
nvim -c "PackerInstall"
|
||||
|
||||
if [[ ! -d "$bashCompletionsDir" ]] ; then
|
||||
if [[ ! -d "$bashCompletionsDir" ]] ; then
|
||||
__install_bash_completions
|
||||
fi
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
# Remove all configs
|
||||
if [ "$1" = "-R" ] ; then
|
||||
|
||||
cd $HOME
|
||||
for config in "${!configs[@]}"
|
||||
do
|
||||
for config in "${!configs[@]}"
|
||||
do
|
||||
rm -rf ${configs[$config]}
|
||||
done
|
||||
|
||||
rm -rf "$bashCompletionsDir"
|
||||
done
|
||||
|
||||
rm -rf "$bashCompletionsDir"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user