diff --git a/templates/bash.txt b/templates/bash.txt index 7c571d5..8ac19bd 100644 --- a/templates/bash.txt +++ b/templates/bash.txt @@ -68,6 +68,7 @@ function __zoxide_doctor() { {%- else %} [[ ${_ZO_DOCTOR:-1} -eq 0 ]] && return 0 [[ ${PROMPT_COMMAND:-} == *'__zoxide_hook'* ]] && return 0 + # shellcheck disable=SC2199 [[ ${__vsc_original_prompt_command[@]:-} == *'__zoxide_hook'* ]] && return 0 _ZO_DOCTOR=0