mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 13:58:00 +00:00
Merge upstream/master
This commit is contained in:
commit
f427a567d7
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -28,6 +28,8 @@
|
|||||||
[submodule "modules/prompt/external/powerlevel9k"]
|
[submodule "modules/prompt/external/powerlevel9k"]
|
||||||
path = modules/prompt/external/powerlevel9k
|
path = modules/prompt/external/powerlevel9k
|
||||||
url = https://github.com/bhilburn/powerlevel9k.git
|
url = https://github.com/bhilburn/powerlevel9k.git
|
||||||
|
shallow = true
|
||||||
[submodule "modules/prompt/external/powerlevel10k"]
|
[submodule "modules/prompt/external/powerlevel10k"]
|
||||||
path = modules/prompt/external/powerlevel10k
|
path = modules/prompt/external/powerlevel10k
|
||||||
url = https://github.com/romkatv/powerlevel10k.git
|
url = https://github.com/romkatv/powerlevel10k.git
|
||||||
|
shallow = true
|
||||||
|
@ -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)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Return if requirements are not found.
|
# Return if requirements are not found.
|
||||||
if ! is-darwin || ! is-linux; then
|
if ! is-darwin && ! is-linux; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
#
|
#
|
||||||
|
@ -54,6 +54,13 @@ function prompt_sorin_async_callback {
|
|||||||
zle && zle reset-prompt
|
zle && zle reset-prompt
|
||||||
fi
|
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
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
@ -10,6 +10,9 @@ if (( ! $+commands[rsync] )); then
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Load dependencies.
|
||||||
|
pmodload 'helper'
|
||||||
|
|
||||||
#
|
#
|
||||||
# Aliases
|
# Aliases
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user