Compare commits

...

5 Commits

Author SHA1 Message Date
Daniel Carrillo f427a567d7 Merge upstream/master 2020-04-09 18:27:14 +02:00
Vladimir Bauer de7b3b7fdc
Use shallow clone for powerlevel9k and powerlevel10k submodules (#1819) 2020-04-08 13:15:23 -07:00
Srijan R Shetty 95ff0360ae
fix: regression in homebrew module (#1816) 2020-04-06 02:55:01 -07:00
Ackerley Tng 5b03d7fa32
prompt: fix usage of zsh-async in sorin prompt (#1810) 2020-03-29 12:51:11 -07:00
Charith Amarasinghe d5bef142d4
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.
2020-03-29 12:49:35 -07:00
9 changed files with 28 additions and 1 deletions

2
.gitmodules vendored
View File

@ -28,6 +28,8 @@
[submodule "modules/prompt/external/powerlevel9k"]
path = modules/prompt/external/powerlevel9k
url = https://github.com/bhilburn/powerlevel9k.git
shallow = true
[submodule "modules/prompt/external/powerlevel10k"]
path = modules/prompt/external/powerlevel10k
url = https://github.com/romkatv/powerlevel10k.git
shallow = true

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,7 +6,7 @@
#
# Return if requirements are not found.
if ! is-darwin || ! is-linux; then
if ! is-darwin && ! is-linux; then
return 1
fi

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

@ -54,6 +54,13 @@ function prompt_sorin_async_callback {
zle && zle reset-prompt
fi
;;
"[async]")
# Code is 1 for corrupted worker output and 2 for dead worker.
if [[ $2 -eq 2 ]]; then
# Our worker died unexpectedly.
typeset -g prompt_prezto_async_init=0
fi
;;
esac
}

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
#