fix: some stuff
This commit is contained in:
parent
831c9389ad
commit
e6933f33ef
@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
asdf_install(){
|
asdf_install(){
|
||||||
. "$HOME/.asdf/asdf.sh"
|
. "$HOME/.asdf/asdf.sh"
|
||||||
if [ "$(which asdf)" = "" ]; then
|
if [ "$(which asdf)" = "" ]; then
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
if [ -d ~/.asdf ] ; then
|
if [ -d ~/.asdf ] ; then
|
||||||
echo " ✓ asdf already installed"
|
echo " ✓ asdf already installed"
|
||||||
|
source $HOME/.asdf/asdf.sh
|
||||||
else
|
else
|
||||||
git clone --quiet https://github.com/asdf-vm/asdf.git ~/.asdf > /dev/null
|
git clone --quiet https://github.com/asdf-vm/asdf.git ~/.asdf > /dev/null
|
||||||
cd ~/.asdf
|
cd ~/.asdf
|
||||||
|
@ -7,6 +7,7 @@ INTERACTIVE=false
|
|||||||
|
|
||||||
|
|
||||||
#Loading all the helper scripts
|
#Loading all the helper scripts
|
||||||
|
source $HOME/.dotfiles/helpers/asdf-install.sh
|
||||||
source $HOME/.dotfiles/helpers/installer.sh
|
source $HOME/.dotfiles/helpers/installer.sh
|
||||||
source $HOME/.dotfiles/helpers/prompt.sh
|
source $HOME/.dotfiles/helpers/prompt.sh
|
||||||
source $HOME/.dotfiles/helpers/multiselect.sh
|
source $HOME/.dotfiles/helpers/multiselect.sh
|
||||||
@ -82,7 +83,7 @@ if [ "$INST_ASDF" = true ]; then
|
|||||||
# Requirements for ASDF
|
# Requirements for ASDF
|
||||||
install_package gnupg2
|
install_package gnupg2
|
||||||
install_package unzip
|
install_package unzip
|
||||||
$HOME/.dotfiles/install/asdf.sh
|
. $HOME/.dotfiles/install/asdf.sh
|
||||||
|
|
||||||
if [ "$INST_NVIM" = true ]; then
|
if [ "$INST_NVIM" = true ]; then
|
||||||
asdf_install neovim
|
asdf_install neovim
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
# - Prerequesits -
|
# - Prerequesits -
|
||||||
if [ "$(which git)" = "" ]; then
|
if [ "$(which git)" = "" ]; then
|
||||||
echo "-- Installing git --"
|
echo "Please install git before proceeding"
|
||||||
apt-get install git -y >/dev/null
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# - Cloning Repo -
|
# - Cloning Repo -
|
||||||
|
Loading…
Reference in New Issue
Block a user