diff --git a/.config/bash/gil_specific.sh b/.config/bash/gil_specific.sh new file mode 100644 index 0000000..e69de29 diff --git a/installSystem.sh b/installSystem.sh new file mode 100644 index 0000000..e057c4e --- /dev/null +++ b/installSystem.sh @@ -0,0 +1,10 @@ +#/bin/bash + +# Installation oh my bash +[ ! -d "$HOME/.oh-my-bash/" ] && bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" || echo "oh-my-bash installed" + +# Installation config specif bash + aliases +grep "gil_specific" "$HOME/.bashrc" || sed -i -e '$asource "$HOME"/.config/bash/gil_specific.sh\' $HOME/.bashrc + +# Installation sdkman +[ ! -d "$HOME/.sdkman/" ] && curl -s "https://get.sdkman.io" | bash