fix(shell): fix typos

This commit is contained in:
2024-05-18 01:32:46 +01:00
parent e224c2219c
commit e6572caac9
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ _setup-kubectx-completion() {
local dir="$HOME/.local/share/mise/installs/kubectx/latest/completion"
local target="$ZSH_COMPLETIONS/_${cmd}"
if [ -f "$target" || ! -d "$dir" ]; then
if [[ -f "$target" || ! -d "$dir" ]]; then
return
fi