diff --git a/zsh/.config/zsh/.p10k.zsh b/zsh/.config/zsh/.p10k._zsh similarity index 100% rename from zsh/.config/zsh/.p10k.zsh rename to zsh/.config/zsh/.p10k._zsh diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 21cd645..3e028bc 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -110,8 +110,10 @@ dedup_pathvar() { dedup_pathvar PATH dedup_pathvar MANPATH +# shellcheck is not built for zsh specific uses like p10k does +# so we remove it from being analyzed and linted in shellcheck by adding underscore # To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh. -[[ ! -f "$ZSHCONFDIR/.p10k.zsh" ]] || source "$ZSHCONFDIR/.p10k.zsh" +[[ ! -f "$ZSHCONFDIR/.p10k._zsh" ]] || source "$ZSHCONFDIR/.p10k._zsh" unset CONFDIR unset ZSHCONFDIR