olets / zsh-abbr

The zsh manager for auto-expanding abbreviations, inspired by fish. ~18,000 clones by ~12,000 unique cloners as of Sept '24, and averaging ~60 Homebrew installs monthly since June 2023

Home Page:https://zsh-abbr.olets.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deleted the branch `master`

olets opened this issue · comments

The branch master has been deleted. Maintaining it complicated the zsh-abbr devops.

main has been the default branch for years.

Early adopters who use Homebrew to install zsh-abbr may initially have used master. In my testing Homebrew is good about handling a change in default branch + deletion of the old default branch.

I have not tested every possible zsh plugin manager.

If you get an error like

fatal: Couldn't find remote ref refs/heads/master

or

pathspec 'master' did not match any file(s) known to git

you'll need to change the branch to main.

If you've specified master somewhere, change that to main.

If you didn't specify master somewhere, or if changing it didn't help, try checking out the branch main:

cd $ABBR_SOURCE_PATH
git checkout main

🎉 If you have a success story, share you method here with installation method and steps taken.

😞 If you have trouble, let me know here.