Browse Source

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.
master
Charith Amarasinghe 5 years ago committed by GitHub
parent
commit
dc23eb21e3
  1. 3
      modules/haskell/init.zsh
  2. 3
      modules/macports/init.zsh
  3. 3
      modules/osx/init.zsh
  4. 3
      modules/perl/init.zsh
  5. 3
      modules/python/init.zsh
  6. 3
      modules/rsync/init.zsh

3
modules/haskell/init.zsh

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

3
modules/macports/init.zsh

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

3
modules/osx/init.zsh

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

3
modules/perl/init.zsh

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

3
modules/python/init.zsh

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

3
modules/rsync/init.zsh

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

Loading…
Cancel
Save