Compare commits

..

No commits in common. '963e2436b751dfbd8cd7ac6553a97168f8ab8f55' and '674b35f3e4482849c00ad0e168a10fb29cebdf77' have entirely different histories.

  1. 9
      .zshrc
  2. 4
      zsh/env.zsh

9
.zshrc

@ -54,13 +54,11 @@ zinit load agkozak/zsh-z
# https://github.com/docker/cli/blob/master/contrib/completion/zsh/_docker \
# https://github.com/docker/compose/blob/master/contrib/completion/zsh/_docker-compose
# 语法高亮
zinit ice lucid wait='0' atinit='zpcompinit'
zinit light zdharma-continuum/fast-syntax-highlighting
# 自动建议
zinit ice lucid wait="0" atload='_zsh_autosuggest_start'
zinit light zsh-users/zsh-autosuggestions
@ -126,13 +124,6 @@ fi
fpath=(${ASDF_DIR}/completions $fpath)
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
# compinit;
# else

4
zsh/env.zsh

@ -216,6 +216,4 @@ export PATH="$HOME/.fly/bin:$PATH"
export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib/
export CPATH=$CPATH:/opt/homebrew/include/
if command -v mise &> /dev/null; then
eval "$(mise activate zsh)"
fi
eval "$(mise activate zsh)"

Loading…
Cancel
Save