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