Closed onokatio closed 1 year ago
Device: apple | darwin21.3.0 | arm64 Shell: /opt/homebrew/bin/zsh | -zsh | zsh-5.9-0-g73d3173 Zi: 7590afa276a00e85eb8a8dc6a02624935f8f9665
1. `cd some-git-repo-dir` 2. `git checkout master` 3. `zi self-update`
zi shows: Already up to date. Compiling »»» ❮ Zi ❯ … Reloading »»» ❮ Zi ❯ …
zi shows: fatal: couldn't find remote ref master Compiling »»» ❮ Zi ❯ … Reloading »»» ❮ Zi ❯ …
I think this is no relating .zshrc.
Maybe this line must include cd -q "$ZI[BIN_DIR]" before current_branch=
cd -q "$ZI[BIN_DIR]"
current_branch=
https://github.com/z-shell/zi/blob/7590afa276a00e85eb8a8dc6a02624935f8f9665/lib/zsh/autoload.zsh#L634
contact@katio.net
Issue closed and locked due to lack of activity. If you encounter this same issue, please open a new issue and refer to this closed one.
Environment
Device: apple | darwin21.3.0 | arm64 Shell: /opt/homebrew/bin/zsh | -zsh | zsh-5.9-0-g73d3173 Zi: 7590afa276a00e85eb8a8dc6a02624935f8f9665
Reproduction steps
Expected behavior
Current behavior
Code snippet
I think this is no relating .zshrc.
Additional information
Maybe this line must include
cd -q "$ZI[BIN_DIR]"
beforecurrent_branch=
https://github.com/z-shell/zi/blob/7590afa276a00e85eb8a8dc6a02624935f8f9665/lib/zsh/autoload.zsh#L634
Self-service
Have you read the Contributing Guidelines?
Are you familiar with the Contributor Covenant Code of Conduct?
Contact Details
contact@katio.net