diff --git a/install.sh b/install.sh index d1b7286..303b692 100755 --- a/install.sh +++ b/install.sh @@ -45,8 +45,8 @@ zsh_prompt() { sudo -u $SUDO_USER touch ~/.tempzshrc # set up the basics of zsh - sh src/services/zsh/zsh.sh - sh src/services/zsh/Oh-My-ZSH.sh + ./src/services/zsh/zsh.sh + ./src/services/zsh/Oh-My-ZSH.sh fi } @@ -158,7 +158,7 @@ install_files() { #Reading each line and execute file if ! [ -x "$(command -v $line)" ]; then - sh ../importantinstalls/$line.sh + ./../importantinstalls/$line.sh else echo "$line is already installed" fi @@ -170,7 +170,7 @@ install_files() { #Reading each line and execute file if ! [ -x "$(command -v $line)" ]; then - sh ../applications/$line.sh + ./../applications/$line.sh else echo "$line is already installed" fi @@ -202,7 +202,7 @@ install_files() { ProgressBar ${start} ${end} ${line} #Reading each line and execute file if ! [ -x "$(command -v $line)" ]; then - sh ../importantinstalls/$line.sh >> /dev/null 2>&1 + ./../importantinstalls/$line.sh >> /dev/null 2>&1 fi # update progressbar @@ -223,7 +223,7 @@ install_files() { ProgressBar ${start} ${end} ${line} #Reading each line and execute file if ! [ -x "$(command -v $line)" ]; then - sh ../applications/$line.sh >> /dev/null 2>&1 + ./../applications/$line.sh >> /dev/null 2>&1 fi # update progressbar @@ -295,7 +295,7 @@ install_oh_my_zsh() { # run option if [[ ${zshOption,,} = "y" ]]; then # Run Ohmyzsh (ends script) - sh services/zsh/Oh-My-ZSH.sh + ./services/zsh/Oh-My-ZSH.sh fi }