1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 19:49:25 +00:00

Fix missing dependency on helper module for helpers added in #1793 (#1811)

PR #1793 introduced helper functions for OS detection in some modules.
These helpers require a module dependency on the 'helper' module.
This commit is contained in:
Charith Amarasinghe
2020-03-29 20:49:35 +01:00
committed by GitHub
parent f479f37ead
commit d5bef142d4
6 changed files with 18 additions and 0 deletions

View File

@ -10,6 +10,9 @@ if (( ! $+commands[ghc] )); then
return 1
fi
# Load dependencies.
pmodload 'helper'
# Prepend Cabal per user directories to PATH.
if is-darwin && [[ -d $HOME/Library/Haskell ]]; then
path=($HOME/Library/Haskell/bin(/N) $path)