don't use kubectl autocompletion by default

```
num  calls                time                       self            name                                                                                                                                     [89/89]
-----------------------------------------------------------------------------------
 1)    1          84.56    84.56   39.42%     84.37    84.37   39.33%  __kubectl_bash_source
 2)    1          55.07    55.07   25.67%     54.59    54.59   25.45%  chruby_use
 3)    5          74.61    14.92   34.78%     33.93     6.79   15.82%  pmodload
 4)    1           8.35     8.35    3.89%      8.24     8.24    3.84%  _zsh_highlight_load_highlighters
 5)    2           8.09     4.04    3.77%      8.09     4.04    3.77%  _zsh_highlight_bind_widgets
 6)    1           5.99     5.99    2.79%      5.99     5.99    2.79%  prompt_pure_state_setup
 7)    2           4.68     2.34    2.18%      4.68     2.34    2.18%  promptinit
 8)    1           4.09     4.09    1.91%      4.09     4.09    1.91%  compinit
 9)   18           2.73     0.15    1.27%      2.73     0.15    1.27%  (anon)
10)    2          11.50     5.75    5.36%      2.19     1.09    1.02%  prompt_pure_setup
11)    1           2.04     2.04    0.95%      2.04     2.04    0.95%  async_init
12)   11           0.83     0.08    0.39%      0.83     0.08    0.39%  add-zsh-hook
13)    2           2.75     1.37    1.28%      0.71     0.35    0.33%  async
14)    1           0.48     0.48    0.22%      0.48     0.48    0.22%  chruby_reset
15)    3           0.39     0.13    0.18%      0.39     0.13    0.18%  is-at-least
16)    3           0.40     0.13    0.19%      0.34     0.11    0.16%  add-zle-hook-widget
17)    1           0.27     0.27    0.12%      0.27     0.27    0.12%  chruby_auto
18)    1          12.02    12.02    5.60%      0.13     0.13    0.06%  set_prompt
19)    1          12.14    12.14    5.66%      0.12     0.12    0.05%  prompt
20)    1           0.19     0.19    0.09%      0.10     0.10    0.05%  complete
21)    1           0.09     0.09    0.04%      0.09     0.09    0.04%  compdef
22)    1          55.14    55.14   25.70%      0.07     0.07    0.03%  chruby
23)    1           0.03     0.03    0.01%      0.03     0.03    0.01%  bashcompinit
24)    1           0.02     0.02    0.01%      0.02     0.02    0.01%  is-callable
25)    2           0.01     0.00    0.00%      0.01     0.00    0.00%  is-darwin
```
Alpha Chen 4 years ago
parent b701f3d2c4
commit 9544877251

@ -48,8 +48,4 @@ if type fzf > /dev/null; then
alias fzf=fzf-tmux alias fzf=fzf-tmux
fi fi
if type kubectl > /dev/null; then
source <(kubectl completion zsh)
fi
[[ -s "$HOME/.zshrc.local" ]] && . "$HOME/.zshrc.local" [[ -s "$HOME/.zshrc.local" ]] && . "$HOME/.zshrc.local"

Loading…
Cancel
Save