zplug / zplug

:hibiscus: A next-generation plugin manager for zsh
MIT License
5.83k stars 231 forks source link

Weird Error? #581

Open raexera opened 2 years ago

raexera commented 2 years ago

Describe the bug got weird error after trying install some plugin

Expected behavior everything works properly

Screenshots image

Env (please complete the following information):

Minimal zshrc (with less than 30 lines)

Create a minimal reproducing set of configurations for this issue. Please remove all unnecessary parts!

ZPLUG_CACHE_DIR="$XDG_CACHE_HOME/zsh/zplug"
ZPLUG_REPOS="$XDG_DATA_HOME/zsh/zplug"
ZPLUG_HOME="$ZDOTDIR/.zplug"
ZPLUG_BIN="$ZDOTDIR/.bin"
ZPLUG_THREADS=10

if [ ! -d "$ZPLUG_HOME" ]; then
    echo "ZPLUG not found. Cloning..."
    git clone --depth 1 https://github.com/zplug/zplug "$ZPLUG_HOME"
fi

source "$ZPLUG_HOME/init.zsh"

zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-syntax-highlighting"
zplug "zsh-users/zsh-history-substring-search"
zplug "romkatv/gitstatus"
zplug "hlissner/zsh-autopair"
zplug "marlonrichert/zsh-autocomplete"
zplug "MichaelAquilina/zsh-you-should-use"
zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:fzf

if ! zplug check --verbose; then
    printf "Install? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi

zplug load
martinleopold commented 2 years ago

Same error here, when using zplug update