mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 01:33:40 +01:00
Fix issue recognizing if tools are insalled
This commit is contained in:
parent
34b5ff588b
commit
b776f1d20f
@ -19,7 +19,7 @@ colorize_via_pygmentize() {
|
||||
if [[ ${available_tools[(Ie)$ZSH_COLORIZE_TOOL]} -eq 0 ]]; then
|
||||
echo "ZSH_COLORIZE_TOOL '$ZSH_COLORIZE_TOOL' not recognized. Available options are 'pygmentize' and 'chroma'."
|
||||
return 1
|
||||
elif (( $+commands[$ZSH_COLORIZE_TOOL] )); then
|
||||
elif (( $+commands["$ZSH_COLORIZE_TOOL"] )); then
|
||||
echo "Package '$ZSH_COLORIZE_TOOL' is not installed!"
|
||||
return 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user