fix: some stuff

This commit is contained in:
max_richter 2023-10-11 17:13:26 +02:00
parent 831c9389ad
commit e6933f33ef
4 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash
#
asdf_install(){
. "$HOME/.asdf/asdf.sh"
if [ "$(which asdf)" = "" ]; then

View File

@ -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

View File

@ -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

View File

@ -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 -