Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not add haskel env to zsh #19

Open
switchboardOp opened this issue Dec 9, 2019 · 0 comments
Open

does not add haskel env to zsh #19

switchboardOp opened this issue Dec 9, 2019 · 0 comments

Comments

@switchboardOp
Copy link

This section of the bootstrap script will download haskell and add its commands to the path for bash, but not zsh, the default shell in MacOS Catalina.

#### CHECK FOR HASKELL
if [ -e ~/.ghcup/bin/cabal ]; then
printf "$COLOR_PURPLE[2]$normal Haskell found, skipping install of that...\n"
else
printf "$COLOR_PURPLE[2]$normal Installing Haskell (via 'ghcup')...\n"
curl https://get-ghcup.haskell.org -sSf | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 sh 2>&1 > /tmp/ghcup-install.log
if [ $(grep -c ghcup ~/.bashrc) -ne 0 ]; then
printf "$COLOR_PURPLE[2.1]$normal Adding ghcup initialisation to ~/.bashrc...\n"
echo '. $HOME/.ghcup/env' >> "$HOME/.bashrc"
fi
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant