Configure Haskell development env
This commit is contained in:
9
fish/dot-config/fish/conf.d/ghcup.fish
Normal file
9
fish/dot-config/fish/conf.d/ghcup.fish
Normal file
@@ -0,0 +1,9 @@
|
||||
set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME
|
||||
|
||||
if not contains $HOME/.cabal/bin $PATH
|
||||
set -x PATH $HOME/.cabal/bin $PATH
|
||||
end
|
||||
|
||||
if not contains $HOME/.ghcup/bin $PATH
|
||||
set -x PATH $HOME/.ghcup/bin
|
||||
end
|
||||
Reference in New Issue
Block a user