Eu decidi reduzir as minhas entradas .zshrc
e declutter oh-my-zsh
. Parece que zsh
agora pode instalar automaticamente plugins referenciados e atualizá-los automaticamente, o que era algo que eu queria alcançar. No entanto, toda vez que eu corro terminal eu recebo a seguinte saída:
[zplug] Start to update 0 plugins in parallel
[zplug] Elapsed time: 0.0074 sec.
==> Updating finished successfully!
É claro que não é necessário e gostaria que fosse removido.
Veja a seção de .zshrc
em que tenho oh-my-zsh
entradas:
# Check if zplug is installed
[ ! -d ~/.zplug ] && git clone https://github.com/zplug/zplug ~/.zplug
source ~/.zplug/init.zsh && zplug update
zplug 'zplug/zplug', hook-build:'zplug --self-manage'
zplug "seebi/dircolors-solarized", ignore:"*", as:plugin
zplug "plugins/mvn", from:oh-my-zsh
zplug "plugins/gradle", from:oh-my-zsh
zplug "plugins/git", from:oh-my-zsh
zplug "plugins/sudo", from:oh-my-zsh
zplug "plugins/dnf", from:oh-my-zsh
# Supports checking out a specific branch/tag/commit
zplug "b4b4r07/enhancd", at:v1
# Support bitbucket
zplug "b4b4r07/hello_bitbucket", \
from:bitbucket, \
as:command, \
use:"*.sh"
zplug "zsh-users/zsh-completions", defer:0
zplug "zsh-users/zsh-autosuggestions", defer:2, on:"zsh-users/zsh-completions"
zplug "zsh-users/zsh-syntax-highlighting", defer:3, on:"zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-history-substring-search", defer:3, on:"zsh-users/zsh-syntax-highlighting"
# Install plugins if there are plugins that have not been installed
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
# Then, source plugins and add commands to $PATH
zplug load