`-v` is not supported in zsh 5.1.1
This commit is contained in:
parent
6d895fcf57
commit
7e64f1cac5
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
# Bail out if it's not the first time the file is being sourced.
|
# Bail out if it's not the first time the file is being sourced.
|
||||||
# Second sourcing will cause mayhem.
|
# Second sourcing will cause mayhem.
|
||||||
[[ -v _P9K_SOURCED ]] && return
|
[[ -n "${_P9K_SOURCED}" ]] && return
|
||||||
readonly _P9K_SOURCED=1
|
readonly _P9K_SOURCED=1
|
||||||
|
|
||||||
typeset -g _P9K_INSTALLATION_DIR
|
typeset -g _P9K_INSTALLATION_DIR
|
||||||
|
|
Loading…
Reference in New Issue