Remove incompatible zsh file from shellchecker
This commit is contained in:
parent
52b054a2d2
commit
69511541ec
2 changed files with 3 additions and 1 deletions
|
@ -110,8 +110,10 @@ dedup_pathvar() {
|
||||||
dedup_pathvar PATH
|
dedup_pathvar PATH
|
||||||
dedup_pathvar MANPATH
|
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.
|
# 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 CONFDIR
|
||||||
unset ZSHCONFDIR
|
unset ZSHCONFDIR
|
||||||
|
|
Loading…
Reference in a new issue