1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 08:08:00 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)

View File

@ -6,6 +6,9 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Load dependencies.
pmodload 'helper'
# Return if requirements are not found.
if ! is-darwin; then
return 1

View File

@ -5,6 +5,9 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Load dependencies.
pmodload 'helper'
# Return if requirements are not found.
if ! is-darwin; then
return 1

View File

@ -10,6 +10,9 @@ if (( ! $+commands[perl] )); then
return 1
fi
# Load dependencies.
pmodload 'helper'
#
# Load Perlbrew or plenv
#

View File

@ -7,6 +7,9 @@
# Patrick Bos <egpbos@gmail.com>
#
# Load dependencies
pmodload 'helper'
# Load manually installed pyenv into the path
if [[ -s "${PYENV_ROOT:=$HOME/.pyenv}/bin/pyenv" ]]; then
path=("${PYENV_ROOT}/bin" $path)

View File

@ -10,6 +10,9 @@ if (( ! $+commands[rsync] )); then
return 1
fi
# Load dependencies.
pmodload 'helper'
#
# Aliases
#