Skip adjusting PATH if in noninteractive mode.
Compare changes
+ 41
− 39
@@ -82,46 +82,48 @@ edo cabal new-update
@@ -82,46 +82,48 @@ edo cabal new-update
printf "\\033[0;35m%s\\033[0m\\n" "If you want ghcup to automatically fix your ~/.bashrc to include the required PATH variable"
printf "\\033[0;35m%s\\033[0m\\n" "If you want ghcup to automatically fix your ~/.bash_profile to include the required PATH variable"