|
|
@ -54,11 +54,13 @@ zinit load agkozak/zsh-z |
|
|
|
# https://github.com/docker/cli/blob/master/contrib/completion/zsh/_docker \ |
|
|
|
# https://github.com/docker/cli/blob/master/contrib/completion/zsh/_docker \ |
|
|
|
# https://github.com/docker/compose/blob/master/contrib/completion/zsh/_docker-compose |
|
|
|
# https://github.com/docker/compose/blob/master/contrib/completion/zsh/_docker-compose |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 语法高亮 |
|
|
|
# 语法高亮 |
|
|
|
zinit ice lucid wait='0' atinit='zpcompinit' |
|
|
|
zinit ice lucid wait='0' atinit='zpcompinit' |
|
|
|
zinit light zdharma-continuum/fast-syntax-highlighting |
|
|
|
zinit light zdharma-continuum/fast-syntax-highlighting |
|
|
|
|
|
|
|
|
|
|
|
# 自动建议 |
|
|
|
# 自动建议 |
|
|
|
|
|
|
|
|
|
|
|
zinit ice lucid wait="0" atload='_zsh_autosuggest_start' |
|
|
|
zinit ice lucid wait="0" atload='_zsh_autosuggest_start' |
|
|
|
zinit light zsh-users/zsh-autosuggestions |
|
|
|
zinit light zsh-users/zsh-autosuggestions |
|
|
|
|
|
|
|
|
|
|
@ -124,6 +126,13 @@ fi |
|
|
|
fpath=(${ASDF_DIR}/completions $fpath) |
|
|
|
fpath=(${ASDF_DIR}/completions $fpath) |
|
|
|
autoload -Uz compinit |
|
|
|
autoload -Uz compinit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Load kubectl and helm completions |
|
|
|
|
|
|
|
zinit ice lucid wait='1' has"kubectl" atclone"kubectl completion zsh > $ZINIT[COMPLETIONS_DIR]/_kubectl" |
|
|
|
|
|
|
|
zinit snippet OMZ::plugins/kubectl/kubectl.plugin.zsh |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zinit ice lucid wait='1' has"helm" atclone"helm completion zsh > $ZINIT[COMPLETIONS_DIR]/_helm" |
|
|
|
|
|
|
|
zinit snippet OMZ::plugins/helm/helm.plugin.zsh |
|
|
|
|
|
|
|
|
|
|
|
# if [ $(date +'%j') != $(stat -f '%Sm' -t '%j' ~/.zcompdump) ]; then |
|
|
|
# if [ $(date +'%j') != $(stat -f '%Sm' -t '%j' ~/.zcompdump) ]; then |
|
|
|
# compinit; |
|
|
|
# compinit; |
|
|
|
# else |
|
|
|
# else |
|
|
|