Remove incompatible zsh file from shellchecker

This commit is contained in:
Marty Oehme 2020-02-02 15:56:08 +01:00
parent 52b054a2d2
commit 69511541ec
2 changed files with 3 additions and 1 deletions

View file

@ -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