sindresorhus / pure

Pretty, minimal and fast ZSH prompt
MIT License
13.12k stars 971 forks source link

znap pull fails after update to macOS Ventura #651

Closed igorkulman closed 1 year ago

igorkulman commented 1 year ago

General information

System report (output of prompt_pure_system_report):

Other information

I have:

Problem description

After updating to macOS Ventura znap pull fails for me with git errors

❯ znap pull
From https://github.com/sindresorhus/pure
 * branch            main       -> FETCH_HEAD
BUG: run-command.c:1521: you must provide a non-zero number of processes!
From https://github.com/marlonrichert/zsh-autocomplete
 * branch            main       -> FETCH_HEAD
BUG: run-command.c:1521: you must provide a non-zero number of processes!
From https://github.com/zsh-users/zsh-autosuggestions
 * branch            master     -> FETCH_HEAD
BUG: run-command.c:1521: you must provide a non-zero number of processes!
From https://github.com/marlonrichert/zsh-snap
 * branch            main       -> FETCH_HEAD
BUG: run-command.c:1521: you must provide a non-zero number of processes!
From https://github.com/zsh-users/zsh-syntax-highlighting
 * branch            master     -> FETCH_HEAD
BUG: run-command.c:1521: you must provide a non-zero number of processes!

Reproduction steps

  1. znap pull

My .zshrc:

# zsnap
[[ -f ~/.zsh/zsh-snap/znap.zsh ]] ||
    git clone --depth 1 https://github.com/marlonrichert/zsh-snap.git ~/.zsh/zsh-snap

source ~/.zsh/zsh-snap/znap.zsh

# pure prompt
znap prompt sindresorhus/pure

# Zsh plugins
znap source zsh-users/zsh-syntax-highlighting
znap source zsh-users/zsh-autosuggestions

# Zsh settings
zle_bracketed_paste=()
zle_highlight+=(paste:none)

unsetopt prompt_cr prompt_sp

zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'

znap eval rbenv-init 'rbenv init -'
znap eval iterm2 'curl -fsSL https://iterm2.com/shell_integration/zsh'
mafredri commented 1 year ago

I don’t see any error originating from Pure here, the BUG lines originate from znap, I would recommend opening an issue over there.

If you think my conclusion is wrong, please provide additional details showing the issue from Pure.