Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git: change main branch naming scheme #9049

Merged
merged 3 commits into from Jul 3, 2020

Conversation

adam2k
Copy link
Contributor

@adam2k adam2k commented Jun 19, 2020

Standards checklist:

  • The PR title is descriptive.
  • The PR doesn't replicate another PR which is already open.
  • I have read the contribution guide and followed all the instructions.
  • The code follows the code style guide detailed in the wiki.
  • The code is mine or it's from somewhere with an MIT-compatible license.
  • The code is efficient, to the best of my ability, and does not waste computer resources.
  • The code is stable and I have tested it myself, to the best of my abilities.

Changes:

  • Changed the git plugin commands from master to main.

@ohmyzsh ohmyzsh bot added Area: plugin Issue or PR related to a plugin Plugin: git Topic: alias Pull Request or issue regarding aliases Type: documentation Documentation issue or Pull Request labels Jun 19, 2020
@mcornella
Copy link
Member

This is a signifcant change, I'd wait until a backwards compatible solution is ready to merge this. One possibility is to check whether main exists, and use that in that case. For example, we could use this function:

git_main_branch() {
  if [[ -n "$(git branch --list main)" ]]; then
    echo main
  else
    echo master
  fi
}

and substitute the word master for a call to this function in the aliases that use it.

@adam2k
Copy link
Contributor Author

adam2k commented Jun 22, 2020

@mcornella good idea! I'll make that update.

@adam2k
Copy link
Contributor Author

adam2k commented Jul 2, 2020

@mcornella let me know if that looks good to you.

@mcornella mcornella changed the title Change git plugin commands to main git: change main branch naming scheme Jul 3, 2020
@mcornella mcornella merged commit 3178334 into ohmyzsh:master Jul 3, 2020
@mcornella
Copy link
Member

Thanks Adam!

@ouuan
Copy link
Contributor

ouuan commented Jul 7, 2020

I think it's better to make this configurable. e.g. use an environment variable.

The current implementation is a breaking change if there's the main branch but it's not used as the default branch. Also, the user can't use names besides main and master.

@ouuan
Copy link
Contributor

ouuan commented Jul 7, 2020

It will be better if we can configure it per repository, but I've no idea how to do it 🤔

@ouuan
Copy link
Contributor

ouuan commented Jul 7, 2020

Even if we don't make it configurable, I think "if master doesn't exist, use main" is better, because I believe everyone using "main" instead of "master" doesn't use "master” anymore, but someone using "master" as the default branch may use "main" as a normal branch, and whatever the user uses as branch names "if master doesn't exist, use main" won't be a breaking change.

@ouuan ouuan mentioned this pull request Jul 7, 2020
7 tasks
lesterchan added a commit to lesterchan/oh-my-zsh that referenced this pull request Jul 9, 2020
* upstream/master: (23 commits)
  lib: safety fix and speed-ups for git.zsh prompt functions (ohmyzsh#7804)
  lib: prefix diff call with command to bypass diff aliases
  sudo: make the behavior more in line with expectations (ohmyzsh#9047)
  Edit for better consistency in template (ohmyzsh#8593)
  Bug and Feature Request Templates + MLH Theme + Readme (ohmyzsh#9068)
  cli: beauty touches on 'omz pr test' command
  git: change main branch naming scheme (ohmyzsh#9049)
  lib: enable diff color (ohmyzsh#8807)
  agnoster: fix git working tree check (ohmyzsh#9072)
  install: fix typo (ohmyzsh#9069)
  gradle: force `--console plain` for tasks cache generation (ohmyzsh#8731)
  Handle unset variables in various parts of the codebase (ohmyzsh#8944)
  encode64: fix typo in README (ohmyzsh#9052)
  Modernize install and update banners (ohmyzsh#9045)
  update: change dash in function name for sh compat (fixes ohmyzsh#9064)
  update: only update on a valid affirmative input (ohmyzsh#9062)
  Add new mvn alias for `mvn fmt:format` (ohmyzsh#9053)
  archlinux: fix pacweb breaking when multiple packages found (ohmyzsh#9059)
  core: add title support for mlterm (ohmyzsh#8303)
  Deprecate cloudapp plugin (fixes ohmyzsh#8966)
  ...
mcornella added a commit that referenced this pull request Jul 9, 2020
See #9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>
@mcornella
Copy link
Member

I pushed your suggestion (1db79f9) instead of the other PR, with attribution. Makes more sense, thanks.

seancmonahan pushed a commit to seancmonahan/oh-my-zsh that referenced this pull request Jul 12, 2020
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
seancmonahan pushed a commit to seancmonahan/oh-my-zsh that referenced this pull request Jul 12, 2020
See ohmyzsh#9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>
@Poyoman39
Copy link
Contributor

Hey guys, not really happy about this PR. It looks like a really good idea, ... but 'git_main_branch' is used in kind of a lot of tools other than oh my zsh ... which mean a lot of people may have defined it something really different than a master branch. In my case ... git_main_branch is develop ... Since i want developers on my project to land on it after clone. But then gcm become the same as gcd. And also no more git checkout master shortcut anymore 👎

This is based in my personal projects. May be useful to have other users giving their feelings about it too.

@mcornella
Copy link
Member

Huh, so would it work if the remote main branch is only checked if no master nor main branches are found, instead of the way it is now where it checks first the remote main branch? Or at that point master doesn't exist yet, so it'll use develop anyway? It's tricky to make everyone happy about this, apologies for that.

@Poyoman39
Copy link
Contributor

@mcornella no problem ;) Since it's a breaking change it will for sure break some users habits. Wanted to share my case ... and yes i've no idea how to make both solutions work. I was thinking about adding a gcma alias ... but looks more like a quick patch than a real solution.

@ouuan
Copy link
Contributor

ouuan commented Jul 13, 2020

It's tricky to make everyone happy about this

I think #9091 is a solution 🤔 Now here's one more case that configurable main branch name could be useful.

@Poyoman39 Even if #9091 is rejected, you could use the code in that PR to override git_main_branch in your .zshrc. I hope it helps.

shlomif pushed a commit to shlomif/oh-my-zsh that referenced this pull request Jul 14, 2020
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
shlomif pushed a commit to shlomif/oh-my-zsh that referenced this pull request Jul 14, 2020
See ohmyzsh#9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>
lparam pushed a commit to lparam/oh-my-zsh that referenced this pull request Jul 27, 2020
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
lparam pushed a commit to lparam/oh-my-zsh that referenced this pull request Jul 27, 2020
See ohmyzsh#9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>
mdumitru pushed a commit to mdumitru/git-aliases that referenced this pull request Aug 5, 2020
Luxcium added a commit to LuxciumProject/ahmyzsh that referenced this pull request Sep 20, 2020
https://github.com/ohmyzsh/ohmyzsh/blob/93c837fec8e9fe61509b9dff9e909e84f7ebe32d/plugins/git/git.plugin.zsh#L1-L293

Copyright (c) 2009-2020 Robby Russell and
[contributors](https://github.com/ohmyzsh/ohmyzsh/contributors)

TAnks to those who have contributed to fix those 20+ issues:

ohmyzsh/ohmyzsh#1790
ohmyzsh/ohmyzsh#3535
ohmyzsh/ohmyzsh#3682
ohmyzsh/ohmyzsh#3962
ohmyzsh/ohmyzsh#3972
ohmyzsh/ohmyzsh#3977
ohmyzsh/ohmyzsh#3991
ohmyzsh/ohmyzsh#4085
ohmyzsh/ohmyzsh#4727
ohmyzsh/ohmyzsh#5130
ohmyzsh/ohmyzsh#5179
ohmyzsh/ohmyzsh#5362
ohmyzsh/ohmyzsh#5442
ohmyzsh/ohmyzsh#6329
ohmyzsh/ohmyzsh#6793
ohmyzsh/ohmyzsh#7682
ohmyzsh/ohmyzsh#7716
ohmyzsh/ohmyzsh#7754
ohmyzsh/ohmyzsh#867
ohmyzsh/ohmyzsh#9103
ohmyzsh/ohmyzsh#9114

and those who help develop
theses aliases and function
whith theses Pull 40+ Requests:

ohmyzsh/ohmyzsh#2790
ohmyzsh/ohmyzsh#3167
ohmyzsh/ohmyzsh#4304
ohmyzsh/ohmyzsh#4751
ohmyzsh/ohmyzsh#4830
ohmyzsh/ohmyzsh#4993
ohmyzsh/ohmyzsh#5025
ohmyzsh/ohmyzsh#5178
ohmyzsh/ohmyzsh#5271
ohmyzsh/ohmyzsh#5287
ohmyzsh/ohmyzsh#5306
ohmyzsh/ohmyzsh#5307
ohmyzsh/ohmyzsh#5390
ohmyzsh/ohmyzsh#5417
ohmyzsh/ohmyzsh#5433
ohmyzsh/ohmyzsh#5511
ohmyzsh/ohmyzsh#5591
ohmyzsh/ohmyzsh#5643
ohmyzsh/ohmyzsh#5729
ohmyzsh/ohmyzsh#5844
ohmyzsh/ohmyzsh#5849
ohmyzsh/ohmyzsh#5871
ohmyzsh/ohmyzsh#6006
ohmyzsh/ohmyzsh#6031
ohmyzsh/ohmyzsh#6059
ohmyzsh/ohmyzsh#6079
ohmyzsh/ohmyzsh#6297
ohmyzsh/ohmyzsh#6378
ohmyzsh/ohmyzsh#6789
ohmyzsh/ohmyzsh#6791
ohmyzsh/ohmyzsh#6893
ohmyzsh/ohmyzsh#7064
ohmyzsh/ohmyzsh#7472
ohmyzsh/ohmyzsh#7556
ohmyzsh/ohmyzsh#7629
ohmyzsh/ohmyzsh#7630
ohmyzsh/ohmyzsh#7724
ohmyzsh/ohmyzsh#7841
ohmyzsh/ohmyzsh#8089
ohmyzsh/ohmyzsh#8563
ohmyzsh/ohmyzsh#8617
ohmyzsh/ohmyzsh#8622
ohmyzsh/ohmyzsh#8697
ohmyzsh/ohmyzsh#8902
ohmyzsh/ohmyzsh#8935
ohmyzsh/ohmyzsh#8957
ohmyzsh/ohmyzsh#9049
Signed-off-by: Benjamin Vincent (Luxcium) <luxcium@neb401.com>
@adam2k adam2k deleted the fix/change-git-plugin-to-main branch October 2, 2020 12:09
tokarthik added a commit to tokarthik/oh-my-zsh that referenced this pull request Oct 2, 2020
* Fast algorithm to determine grep alias flags

This version tries whether grep supports all the flags together
and progressively checks older flags if the grep test fails.
This means only one grep call if all flags are supported, and
one additional call for every flag that's not supported, up to
a maximum of 3 calls.

* Refactor grep.zsh file

- Move grep-alias path to variable.
- Use <<< "" instead of piped echo to check grep flags.
- Remove check for --color only since it's the same release as --exclude.

* Document ZSH_THEME_RANDOM_BLACKLIST setting

* lib: use grep-alias cache only if ZSH_CACHE_DIR is writable

Fixes ohmyzsh#8693

* pip: add local Python package files to completion (ohmyzsh#7442)

* minikube: cache command completions (ohmyzsh#7446)

* shrink-path: add minimum length and ellipsis symbol options (ohmyzsh#7382)

* Added minimum length and ellipsis symbol options for the shrink-path plugin.

* Replaced tab indentation with space indentation for the shrink-path plugin.

* Added handling of multicharacter ellipsis, and updated documentation and README for the shrink-path plugin.

* command-not-found: speed up call to Homebrew command-not-found (ohmyzsh#7740)

By sourcing brew files directly we can achieve a very high speed up.
This will not work if the user installed homebrew in a different
location than by default.

* python: add pyuserpaths function (ohmyzsh#7758)

Summary
    Make it get a list of installed interpreters, and add the
    relevant local (HOME) site-packages directory to PYTHONPATH.

    Reason
    To easily add all relevant paths, initially, and between upgrades.

Add check for PYTHONUSERBASE

    Summary
    Check for a non-standard install directory, use it if one
    exists, otherwise use ~/.local.

    Reason
    Allow users to specify their own installation directory, without
    affecting functionality.

* sdk: add support for local versions and optimize sed calls (ohmyzsh#7870)

* Added support for local sdk versions

Added support for local versions (prefixed by '+'), so they are filtered out in _listInstallableVersions() and they are displayed correctly by _listAllVersion()

* Optimize sed calls

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* Uppercase the issue in open issue command in the JIRA plugin

* Better support for branch name

Enable to get issue from branch prefixed with it and delimited by '_'

* Clean up jira function

* Some tweaks to the Jira plugin

[x] Updating `branch` command to be compatible with git-flow style branches by removing any prefix before attempting to go to the ticket number in Jira.
[x] Removing the switch between /browse/ and /issues/ based off of the `JIRA_RAPID_BOARD` setting - as all issues are under browse now it seems.

* random: remove random theme from possible themes to choose from

...preventing an infinite loop.

* lib: use `command` to run rm in upgrade function (ohmyzsh#8696)

* git: make the gpristine alias remove untracked git repos (ohmyzsh#8697)

* Use $jobstates and $jobtexts to look for jobs

`jobs %string` doesn't work correctly when run inside `$()`. `$jobstates` and
`$jobtexts` is available in the current shell process, so even though we need
to replicate a bit more logic, every type of `fg` invocation works correctly.

* lib: clean up termsupport.zsh

* kube-ps1: update to latest upstream version (c685ac8)

Closes ohmyzsh#8009

Co-authored-by: Jon Mosco <jonny.mosco@gmail.com>

* knife: improve knife-solo support in completion (ohmyzsh#3315)

Closes ohmyzsh#1944
Closes ohmyzsh#3315

* knife: fix refactor mistake

* rbenv: fix rbenv_prompt_info prefix and suffix (ohmyzsh#3764)

Closes ohmyzsh#3764

* arcanist: add functions which allow copy-pasting of URLS (ohmyzsh#8688)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* shrink-path: added glob and quote options (ohmyzsh#7694)

* Added -g option to shrink-path plugin.

The new optins adds an asterix to the uniquely shortened name, such
that, if copy'n'pasted, zsh globbing will expand to the full path name
of the shortened path:

shrink-path -g:
"/net/software/modules/modulefiles" -> "/n*/s*/modules/m*"

shrink-path -l -g:
"/net/software/modules/modulefiles" -> "/n*/s*/modules/modulefiles"

* Updated also the README file with the new -g option.

* shrink-path: improved handling of special cases

This commits improves the handling of special cases in path strings:

- handling of white space in path names
- handling of single-letter path names

* Update plugins/shrink-path/README.md

Co-Authored-By: Jacob Tomaw <jacob.tomaw@gmail.com>

* Fix typo "Asterix" and replace with "asterisk"

* Add optional quoting support to shrink_path

Co-authored-by: Jacob Tomaw <jacob.tomaw@gmail.com>

* aws: add support for AWS CLI v2 autocompletion (ohmyzsh#8670)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* lib: support konsole* $TERM in title function (ohmyzsh#8035)

* phing: fix copy-paste error in README

* nvm: add `install-latest-npm` to completion (ohmyzsh#8709)

* aws: fix awscli completion path on NixOS (ohmyzsh#8707)

* gradle: use upstream completion and fix some other stuff

Fixes ohmyzsh#6239
Fixes ohmyzsh#7946
Fixes ohmyzsh#8017
Fixes ohmyzsh#8717
Closes ohmyzsh#7987
Closes ohmyzsh#8718

* sdk: remove invalid value "candidates" from sdk flush completion (ohmyzsh#8725)

* archlinux: fix wrong parameters in pacfiles alias (ohmyzsh#8712)

* updater: use `git config` instead of `git -c` for git < v1.7.2

Fixes ohmyzsh#8732

* updater: use hardcoded color sequences instead of tput

* z: add markdown Readme (ohmyzsh#8715)

* Clean up plugin READMEs and a few plugins

- fasd
- history
- mercurial
- pylint
- repo
- yii2

* autoenv: look in additional installation locations, redo logic

Fixes ohmyzsh#4681

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* taskwarrior: update completion to latest version (dcdf712)

Fixes ohmyzsh#8249

* man: use only first element of command before prepending man (ohmyzsh#8747)

Co-authored-by: Michael Wurzer <michael.wurzer@sequality.at>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* update path for snapd /snap/bin/* which is used by Linux systems (ohmyzsh#8752)

Co-authored-by: mark horsfield <markhfromakron@gmail.com>

* Add direnv plugin (ohmyzsh#8666)

* direnv: change direnv to not assume path (ohmyzsh#8757)

On Ubuntu, direnv is not installed in `/usr/local`.

* virtualenvwrapper: look in $HOME/.local/bin directory (ohmyzsh#8758)

* dotenv: add agree-once improvement to confirmation prompt (ohmyzsh#8729)

* dotenv: add possibility to agree once for a given .env file

* refactor: fix code style

* Use :A modifier instead of readlink. Thanks Aloxaf

* Use grep and clean up allowed list check logic

* Simplify and reorder file; change default allowed list path

* Add new feature to README

* Make sure ZSH_CACHE_DIR is defined

* Resolve symlinks in $PWD before storing in allowed list

Co-authored-by: Aloxaf <bailong104@gmail.com>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* themes: change lstheme function to themes in $ZSH_CUSTOM in any level

Also sort and remove duplicates, and pipe to fmt to improve output format.

Fixes ohmyzsh#8755

* history-substring-search: update to upstream version 2019-05-12

Updates OMZ's copy to commit 0f80b8eb3368b46e5e573c1d91ae69eb095db3fb from zsh-users/zsh-history-substring-search

* history-substring-search: fixing my dumb mistake

* git: fix markdown in README (ohmyzsh#8769)

* systemd: remove newline from systemd prompt (ohmyzsh#8772)

* keychain: define SHORT_HOST if not defined

Fixes problems when using the plugin via antibody or antigen.

* nebirhos: use short hostname in prompt

Fixes ohmyzsh#6050

* battery: fix Full battery bug on Linux; force 1-char-width on charging symbol

* battery: remove printf usage where possible

Spares us of the need to quote % symbols

* colorized-man-pages: add hooks for dman and debman commands (ohmyzsh#8776)

* colorized-man-pages: Added hooks for commands dman and debman

`dman` and `debman` are tools from the package `debian-goodies` for
Debian systems (see https://packages.debian.org/stable/debian-goodies).
They can display man pages from manpages.debian.org or local debian
packages respectively.

README of the plugin is also updated.

* Simplify syntax for future changes

* Fix README syntax

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* gnu-utils: append make to cmds (ohmyzsh#8794)

GNU "make" is installed as "gmake" by homebrew.

* themes: fix minor syntax error

* lib: speed up slow parts of the lib files; other small fixes

* battery: revert battery charging symbol 1-character-width hack

Fixes ohmyzsh#8804

* tig: add more info in README (ohmyzsh#8818)

For more convenient plugin exploring.

* composer: fix cdo alias due to command api change (ohmyzsh#8828)

* meta: basic CODEOWNERS file (gitfast plugin)

https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

* autojump: clarify need to install it first

Related: ohmyzsh#8806

* jsontools: correct usage for is_json (ohmyzsh#8857)

* aws: fix aws_change_access_key function with awscli v2 (ohmyzsh#8816)

* sdk: improve sdkman completion (ohmyzsh#8854)

* meta: add Ross Goldberg as owner of the sdk plugin

* sdk: support completion of new commands in 5.8.0 (ohmyzsh#8870)

* core: add basic Oh My Zsh CLI (ohmyzsh#8876)

* core: move core folder to lib, for now

* core: refresh zcompdump cache file in init script (ohmyzsh#8878)

* core: fix cmp invocation in BSD systems

BSD cmp doesn't have the option of reading from stdin, so use process
substitution instead.

* gitfast: proper synchronization (ohmyzsh#8550)

* init: silence zcompdump metadata write for invalid ZSH_COMPDUMP filenames

If `$SHORT_HOST` contains invalid filename characters, the compinit call doesn't
error, but the zcompdump metadata write does. Use `tee` instead so we can silence
the error.

See ohmyzsh@dd1a726#commitcomment-38984764

* magic-enter: define bindkey for vi mode as well

Closes ohmyzsh#8906

* pygmalion: revert multiline prompt change

Fixes ohmyzsh#2317
Closes ohmyzsh#2321

* core: fix zstyle definition of use-cache

* composer: use cache to fix slowness during startup

Fixes ohmyzsh#6647
Closes ohmyzsh#6664

* composer: add aliases for 'outdated' commands

Added `co` alias for `composer outdated` and `cod` for `composer
outdated --direct`

Closes ohmyzsh#5127

* composer: fix documented aliases

* zsh-navigation-tools: update to 5937e57e

Fixes ohmyzsh#8476

* Add plugin for rustup completion (ohmyzsh#8914)

* core: enable hist_reduce_blanks

Fixes ohmyzsh#8722

* update: display logo in rainbow colors (ohmyzsh#8941)

* bundler: add alias for bundle check (ohmyzsh#5000)

* bundler: add alias for bundle add

Fixes ohmyzsh#8892

* update: fix bug in upgrade.sh: s/NORMAL/RESET/ (ohmyzsh#8947)

* frontend-search: add packagephobia (ohmyzsh#8908)

* Prefix cd calls with `builtin` (ohmyzsh#8937)

* Revert "core: enable hist_reduce_blanks"

This reverts commit cbd6fbe.

Fixes ohmyzsh#8949

* pipenv: fix error when Pipfile is not a file (ohmyzsh#8931)

* jira: add tempo command (ohmyzsh#8928)

* git: exclude 'development' in gdba alias (ohmyzsh#8902)

* core: remove inc_append_history option (ohmyzsh#8048)

* man: look for man page for subcommands (ohmyzsh#8798)

* af-magic: account for active conda envs in dash line

See ohmyzsh#8081 (comment)

* git: exclude devel branch from list in gbda alias (ohmyzsh#8957)

* git: add convenience aliases for `git apply` and `git am` (ohmyzsh#8563)

* forklift: add support for Forklift distributed via the Setapp (ohmyzsh#8803)

* direnv: check if direnv is installed (ohmyzsh#8809)

* fino-time: fix git and ruby prompt sequences

Fixes ohmyzsh#8856

* git: clarify what the glp alias does (ohmyzsh#8850)

* common-aliases: fix hardcoded .zshrc path (ohmyzsh#5926)

* Use oh-my-zsh path variables in zshrc.zsh-template (ohmyzsh#8960)

* avit: fix $reset_color sequence in prompt

Fixes ohmyzsh#8952

* vagrant: fix vagrant box autocomplete (ohmyzsh#8929)

* archlinux: fix pacweb with non-English locales (ohmyzsh#8916)

* docker: update to latest upstream completion (92dc906) (ohmyzsh#8835)

* git: add alias for git diff excluding lock files (ohmyzsh#8935)

* asdf: fix completions if ASDF_DIR is already exported (ohmyzsh#8538)

* rbenv: fix redirect in current_gemset

Fixes ohmyzsh#8925
Related ohmyzsh#4688

* python: add line-number to pygrep (ohmyzsh#8867)

* terraform: add fmt -recursive flag autocompletion (ohmyzsh#8880)

* Add plugin for LXD autocomplete (ohmyzsh#7457)

* Add plugin for bazel completion (ohmyzsh#6434)

* Add `shell-proxy` plugin (ohmyzsh#8692)

* kube-ps1: update to latest version (ede8098)

Fixes ohmyzsh#8786

* brew: remove completion deprecation notice and fix README

* jenv: fix Homebrew install path bug introduced in ohmyzsh#7541

* virtualenvwrapper: fix load and detection logic

* Fix load of various plugins: fastfile, keychain, sfffe, stack

* Remove git-remote-branch and nyan plugins (deprecated)

* Add deprecation notice for fedora and go plugins.

* init: use grep for zcompdump metadata check

Closes ohmyzsh#8981

* init: oops

* fino-time: fix virtualenv prompt by escaping dollar sign (ohmyzsh#8991)

* init: reapply hack for invalid ZSH_COMPDUMP filenames (b876198)

* web-search: add Wayback Archive (ohmyzsh#8784)

* wd: update to latest version (ohmyzsh#8530)

* lib: don't override bigger HISTSIZE and SAVEHIST values (ohmyzsh#8993)

oh-my-zsh Changes the HISTSIZE and SAVEHIST values to fixed sizes,
however if a bigger value is set in ~/.zshrc, it will override it,
potentially causing the user history to be deleted.

So, only set these values if no other is set and if it is lower than the
default ones.

* Silence non-existent/empty dir errors in fastfile_{sync,ls}

* chucknorris: remove duplicate quotes

Fixes ohmyzsh#8998

* chucknorris: fix typos (ohmyzsh#9012)

* chucknorris: normalize apostrophes (ohmyzsh#9013)

* peepcode: add virtualenv prompt and fix git calls

* smt: fix time since last commit logic

Fixes ohmyzsh#5244

* update: refactor and fix logic in check_for_upgrade.sh (ohmyzsh#8939)

* web-search: allow custom search engines

* web-search: add Google Scholar (ohmyzsh#9014)

* muse: clean up theme

* Change Discord invite URL

* init: run update check in the same zsh process (ohmyzsh#9019)

* osx: refactor plugin and add a few features (ohmyzsh#9026)

Co-authored-by: Capybara <git.capybara@gmail.com>
Co-authored-by: drootang <drootang@users.noreply.github.com>
Co-authored-by: Augusto Souza <augustorsouza@gmail.com>
Co-authored-by: PatrBal <44707588+PatrBal@users.noreply.github.com>

* init: don't run update check if DISABLE_AUTO_UPDATE (ohmyzsh#9040)

skip the update check at initialization if DISABLE_AUTO_UPDATE is set to true

* Deprecate cloudapp plugin (fixes ohmyzsh#8966)

* core: add title support for mlterm (ohmyzsh#8303)

* archlinux: fix pacweb breaking when multiple packages found (ohmyzsh#9059)

Co-authored-by: Magnus Boman <Kattus@users.noreply.github.com>

* Add new mvn alias for `mvn fmt:format` (ohmyzsh#9053)

* mvn: add mvnfmt alias

* mvn: update README.md

* update: only update on a valid affirmative input (ohmyzsh#9062)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* update: change dash in function name for sh compat (fixes ohmyzsh#9064)

* Modernize install and update banners (ohmyzsh#9045)

* encode64: fix typo in README (ohmyzsh#9052)

* Handle unset variables in various parts of the codebase (ohmyzsh#8944)

DISABLE_UNTRACKED_FILES_DIRTY, DISABLE_AUTO_TITLE, GIT_STATUS_IGNORE_SUBMODULES are not set
Handle these variables not being set with conditional access.

If the user has set -u option to report attempts to use undeclared / unassigned variable, accessing the variables needs to be conditional.

* gradle: force `--console plain` for tasks cache generation (ohmyzsh#8731)

Fixes ohmyzsh#8730

* install: fix typo (ohmyzsh#9069)

Changing 'your' to 'you'

* agnoster: fix git working tree check (ohmyzsh#9072)

`git rev-parse --is-inside-work-tree` does not have a different exit
code when not within a work tree; the difference is in the output,
either "true" when in a work tree, or "false" when not.

The if was modified similarly to the check for the hide-status config,
which also parses command output rather than exit code.

Co-authored-by: Kyle Laker <klaker@easydynamics.com>

* lib: enable diff color (ohmyzsh#8807)

* git: change main branch naming scheme (ohmyzsh#9049)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* cli: beauty touches on 'omz pr test' command

* Bug and Feature Request Templates + MLH Theme + Readme (ohmyzsh#9068)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
Co-authored-by: Bartek Pacia <barpac02@gmail.com>

* Edit for better consistency in template (ohmyzsh#8593)

* sudo: make the behavior more in line with expectations (ohmyzsh#9047)

* lib: prefix diff call with command to bypass diff aliases

See ohmyzsh#8807 (comment)

* lib: safety fix and speed-ups for git.zsh prompt functions (ohmyzsh#7804)

* aws: allow @ in AWS profiles (ohmyzsh#9099)

Fixes ohmyzsh#9060 by matching a `@` in the AWS profile name.

* git: use `master` if it exists, otherwise use `main`

See ohmyzsh#9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>

* mix-fast: add decriptions to mix-fast completions (ohmyzsh#8561)

* feat(mix-fast): include desctiptions (ohmyzsh#8561)

* feat(mix-fast): improve _mix_generate (no tail, better matching)

* yarn: add alias for upgrade-interactive to the latest version (ohmyzsh#8764)

* dotenv: add never option to confirmation prompt (ohmyzsh#9102)

* git: better algorithm to decide what's the main branch

Fixes ohmyzsh#9103

Co-authored-by: Yufan You <ouuansteve@gmail.com>

* git: change docs for git_main_branch

Also remove unnecesary dramatic remark

* vscode: add support for VSCodium (ohmyzsh#9080)

Co-authored-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* Fix self check link

* update: prefix rm call with command in trap (ohmyzsh#9107)

* Suppress the problematic trap output in check_upg

The newly added trap, in systems where `rm` is aliased to `rm="rm -v"`,
shows a message stating that "update.lock" has been removed each time `zsh` is called.
I simply suppressed it with directing the output to `/dev/null`.

* Use `command` instead of >/dev/null to suppress

* httpie: add alias for https (ohmyzsh#8032)

* kubectl: add alias to list pods by namespace (ohmyzsh#8604)

* docker-compose: add alias for `docker-compose kill` (ohmyzsh#8997)

* timer: threshold to show timers only for time-consuming commands (ohmyzsh#8151)

* git: go back to previous main branch detection logic

Fixes ohmyzsh#9114

* extract: add IPA to extractable filetypes (ohmyzsh#9117)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* battery: add acpi requirement to README (ohmyzsh#9116)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* aws: improve check for aws_completer - unhardcode path (ohmyzsh#9123)

Closes ohmyzsh#9122

The current check is assuming that the aws_completer is installed
globally, it then runs the command without that path

I have aws_completer in ~/.local/bin/aws_completer

This changes the check to see if the command exists instead of
concerning itself with where it in installed. This test matches the
behavior of just running the command.

* lib: support mlterm-256color

Co-authored-by: Peter J. Schroeder <peterjschroeder@gmail.com>

* rbenv: fix current_gemset

Fixes ohmyzsh#8925
Co-authored-by: Josh Goodall <inopinatus@inopinatus.org>

* colorize: add $ZSH_COLORIZE_CHROMA_FORMATTER config env var (ohmyzsh#8824)

* pipenv: toggle pipenv shell on startup

Fixes ohmyzsh#9136

* lib: substitute COMPLETION_WAITING_DOTS for ellipsis

Closes ohmyzsh#8342

* Remove non-existing %p prompt sequence from themes

Fixes ohmyzsh#8022

* pyenv: ignore $PATH pyenv if on WSL

This solves the problem where the used pyenv is actually the one in a
Windows folder, instead of in WSL.

Fixes ohmyzsh#9034

* lib: bind keys to viins and vicmd keymaps and clean up file

Fixes ohmyzsh#8468

* lib: add CTRL-backspace and CTRL-delete to delete whole words

Fixes ohmyzsh#7609
Closes ohmyzsh#8191

Co-authored-by: Michal Grňo <m93a.cz@gmail.com>

* lib: bind to all keymaps when COMPLETION_WAITING_DOTS is set

Fixes ohmyzsh#9050

* cli: add update command (ohmyzsh#9094)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* wd: update to latest version

mfaerevaag/wd@3d20d15

Fixes ohmyzsh#9002

* wd: fix permissions

* lib: remove CTRL-Backspace binding for vi keymaps

* meta: add ISSUE_TEMPLATE config.yml

For now, it only adds a link to the Discord server.

* lib: remove CTRL-Backspace key binding altogether

It conflicts with normal Backspace behavior. Fixes ohmyzsh#9155

* Underline links in install and update script

* Fix upgrade_oh_my_zsh function deprecation

* Remove zsh session restart on omz update and upgrade_oh_my_zsh

* meta: don't apply support label on bug reports

Enough users have complained about the bug label not being applied instead. If there is no label applied
this won't be complained about so often.

* docs: add fetch install command for FreeBSD (ohmyzsh#9172)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* docs: document oneline argument passing to install script

* Update README with new update command (ohmyzsh#9203)

Note: `upgrade_oh_my_zsh` is deprecated. Use `omz update` instead.

* sudo: keep space before the command to ignore it in the history (ohmyzsh#9178)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* zsh_reload: use $SHELL to reload zsh only if it's a zsh shell (fixes ohmyzsh#9054)

* scd: update to 1.4.0 (ohmyzsh#9066)

* vagrant-prompt: replace `grep -P` call with sed and clean up

Fixes ohmyzsh#9207

* pygmalion: use pure zsh instead of perl (ohmyzsh#9210)

My system doesn't have `perl` in $PATH, so using this theme clutters the
shell output quite a bit.

Turns out, the same thing can be accomplished in pure zsh (with
extendedglob).

Co-Authored-By: Marc Cornellà <marc.cornella@live.com>

* chuck-norris: remove some CN quotes and fix formatting (ohmyzsh#9220)

* Remove perl dependency

* fishy: fix one-level directory bug and bad array assignment in zsh 5.0.1

* Add sponsor button

* init: define $ZSH if not defined

Closes ohmyzsh#9223

* lib: treat _ and - as part of a word

Fixes ohmyzsh#8743

* common-aliases: lazily assign $BROWSER, $EDITOR and $XIVIEWER in ext aliases

Fixes ohmyzsh#9212

* sublime: add Sublime Text 4 path for macOS

Fixes ohmyzsh#9153

* fzf: setup FZF_DEFAULT_COMMAND based on installed tools (ohmyzsh#8895)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

* update: return git error code on failure (ohmyzsh#9238)

Fixes ohmyzsh#9237

* wd: update to latest version (v0.5.0) (ohmyzsh#9244)

* pyenv: run pyenv init with --no-rehash (ohmyzsh#8917)

Add --no-rehash to the pyenv init command, which was removed in [ohmyzsh#4492].

The rehash was likely disabled because it can affect shell startup times.
It should only be necessary when installing or removing Python versions.

See [pyenv/pyenv#784] and [sorin-ionescu/prezto#1603] for more detail.

[ohmyzsh#4492]: ohmyzsh#4492
[pyenv/pyenv#784]: pyenv/pyenv#784
[sorin-ionescu/prezto#1603]: sorin-ionescu/prezto#1603

* meta: change feature label

* meta: change support label

* docs: fix small typo in README (ohmyzsh#9255)

* brew: replace deprecated brew cask outdated command (ohmyzsh#9253)

* Remove racially-charged language from the codebase

The ZSH_THEME_RANDOM_BLACKLIST variable will be deprecated until it's
removed 2 months from now.

* docker: document option-stacking setting

Fixes ohmyzsh#9266

* random: add ZSH_THEME_RANDOM_QUIET setting

Fixes ohmyzsh#9180

Co-authored-by: James Eapen <jamespeapen@gmail.com>

* avit: reenable use of $fg instead of prompt sequence colors to fix weird bug

Fixes ohmyzsh#9232

* lib: clean up zsh_stats function

* agnoster: allow disabling AWS prompt with SHOW_AWS_PROMPT=false

Fixes ohmyzsh#8040

* laravel5: clean up

* A few README tweaks

* Right-align table in README

* Fix image alignment

* lib: correct :q syntax in title function for clarity

* bgnotify: use $2 in preexec hook if $1 is empty

Fixes ohmyzsh#5803

* brew: add alias for brew to avoid upgrading casks (ohmyzsh#9280)

* lib: support alacritty $TERM in title function

* composer: autoload cache functions

Fixes ohmyzsh#9236

* lib: support simple terminal in title function

Fixes ohmyzsh#9295

* minikube: fix spelling (ohmyzsh#9270)

* terraform: add tf Alias (ohmyzsh#8206)

* Remove redundant bashcompinit calls

Fixes ohmyzsh#9246

* pip: move plugin cache to XDG folder (ohmyzsh#9299)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
Co-authored-by: Dan D'Avella <drdavella@gmail.com>
Co-authored-by: Pavel Fokin <pavel.fokin@opensoftdev.ru>
Co-authored-by: Pavel N. Krivitsky <pavel-github@krivitsky.name>
Co-authored-by: Hielke Walinga <hielkewalinga@gmail.com>
Co-authored-by: 0b10 <qbit8@protonmail.com>
Co-authored-by: Andrea Nanni <37385837+ananni13@users.noreply.github.com>
Co-authored-by: Matthew Manuel <matthew.manuel@biarri.com>
Co-authored-by: RoToRx88 <spam@oij.fr>
Co-authored-by: Josh Christopherson <josh.christopherson@stacksports.com>
Co-authored-by: Marek Dědič <developer@dedic.eu>
Co-authored-by: Jean-Yves Rivallan <jeanyves.rivallan@gmail.com>
Co-authored-by: Jon Mosco <jonny.mosco@gmail.com>
Co-authored-by: Masato Ikeda <masato.ikeda@gmail.com>
Co-authored-by: chieping <takashi.honda.01@gmail.com>
Co-authored-by: Alexey Györi <Alexey.gyoeri@gmail.com>
Co-authored-by: Jacob Tomaw <jacob.tomaw@gmail.com>
Co-authored-by: Nick Paterno <43416138+nicholasjpaterno@users.noreply.github.com>
Co-authored-by: B YI <uuuuuu@protonmail.com>
Co-authored-by: Ross Goldberg <rgoldberg@users.noreply.github.com>
Co-authored-by: LuFan Zhong <lufanzhong@gmail.com>
Co-authored-by: Christoph Bachhuber <cbachhuber89@gmail.com>
Co-authored-by: Andrew Janke <andrew@apjanke.net>
Co-authored-by: wurza <Wurzy96@gmail.com>
Co-authored-by: Michael Wurzer <michael.wurzer@sequality.at>
Co-authored-by: Mark <markh@cumulusnetworks.com>
Co-authored-by: mark horsfield <markhfromakron@gmail.com>
Co-authored-by: Moritz Schwörer <mr.mosch@gmail.com>
Co-authored-by: Dan Rose <rotu@users.noreply.github.com>
Co-authored-by: Hector S <hfsam88@gmail.com>
Co-authored-by: Jędrzej Lewandowski <jedrzejblew@gmail.com>
Co-authored-by: Aloxaf <bailong104@gmail.com>
Co-authored-by: glechic <40598665+glechic@users.noreply.github.com>
Co-authored-by: Jon <jon@mscreations.net>
Co-authored-by: Felix Stupp <felix.stupp@outlook.com>
Co-authored-by: Monson Shao <holymonson@gmail.com>
Co-authored-by: schnatterer <schnatterer@users.noreply.github.com>
Co-authored-by: Shahin Sorkh <sorkh.shahin@protonmail.com>
Co-authored-by: Tapan Avasthi <tapan.k.avasthi@gmail.com>
Co-authored-by: tom139 <tom139@users.noreply.github.com>
Co-authored-by: Felipe Contreras <felipe.contreras@gmail.com>
Co-authored-by: Michael Stucki <michael@stucki.io>
Co-authored-by: Gilles <contact@gb-prod.fr>
Co-authored-by: Raphaël Brulé <raphaelbrule22@gmail.com>
Co-authored-by: Emanuel Alarcón <emanuel_cadems@hotmail.com>
Co-authored-by: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Co-authored-by: Will Mendes <willmendesneto@gmail.com>
Co-authored-by: Jacob Menke <jamenk@email.wm.edu>
Co-authored-by: R Max Espinoza <me@rmax.io>
Co-authored-by: Dmitry <32256512+shvimas@users.noreply.github.com>
Co-authored-by: Mikael Andersson Wigander <mikael.grevsten@gmail.com>
Co-authored-by: Benoit GALATI <benoit.galati@gmail.com>
Co-authored-by: David <david@tecgia.com>
Co-authored-by: larumbe <larumbe@users.noreply.github.com>
Co-authored-by: Paul Rudkin <paul@rudkin.me.uk>
Co-authored-by: Michael Klemm <michael.klemm@intel.com>
Co-authored-by: Stanisław <rev1e@protonmail.com>
Co-authored-by: Mohammad Saboorian <1073738+castedmo@users.noreply.github.com>
Co-authored-by: Janek <27jf@pm.me>
Co-authored-by: Kennith Leung <kennith.leung@gmail.com>
Co-authored-by: Vinícius Picossi Teruel <vpteruel@gmail.com>
Co-authored-by: Tvrtko Majstorović <tvrtkomaj@gmail.com>
Co-authored-by: Albert Serrallé Ríos <aserrallerios@gmail.com>
Co-authored-by: Mohammad <mohammad@gazelle.ai>
Co-authored-by: Fotos Georgiadis <gfotos@gmail.com>
Co-authored-by: Renato dos Santos <shazaum@gmail.com>
Co-authored-by: Israel Rodrigo Faria <israel.faria@gmail.com>
Co-authored-by: Septs <github@septs.pw>
Co-authored-by: Yauhen <jsirex@gmail.com>
Co-authored-by: Pierre Gimalac <pierre.gimalac@gmail.com>
Co-authored-by: Marco Trevisan <mail@3v1n0.net>
Co-authored-by: Sumit Sahrawat <sumitsahrawat@outlook.com>
Co-authored-by: l3nn4rt <l3nn4rt@protonmail.com>
Co-authored-by: Małgorzata Basińska <odmina@gmail.com>
Co-authored-by: Capybara <git.capybara@gmail.com>
Co-authored-by: drootang <drootang@users.noreply.github.com>
Co-authored-by: Augusto Souza <augustorsouza@gmail.com>
Co-authored-by: PatrBal <44707588+PatrBal@users.noreply.github.com>
Co-authored-by: Ye Shu <chshu@protonmail.ch>
Co-authored-by: joshuashaffer <joshua.shaffer@icmrl.net>
Co-authored-by: Magnus Boman <6226312+kattjevfel@users.noreply.github.com>
Co-authored-by: Magnus Boman <Kattus@users.noreply.github.com>
Co-authored-by: Fatih Ergüven <fatih@erguven.org>
Co-authored-by: alexagnelli <51273591+alexagnelli@users.noreply.github.com>
Co-authored-by: Larson Carter <larsoncarter@blazermail.net>
Co-authored-by: Hélio <insign@gmail.com>
Co-authored-by: Patrick Moore <pat@finixpayments.com>
Co-authored-by: Konstantin Gribov <grossws@gmail.com>
Co-authored-by: Alex Zdanowicz <Zandwhich@users.noreply.github.com>
Co-authored-by: Kyle Laker <kyle@laker.email>
Co-authored-by: Kyle Laker <klaker@easydynamics.com>
Co-authored-by: Adam Vandover <adam@vandover.me>
Co-authored-by: Bartek Pacia <barpac02@gmail.com>
Co-authored-by: Jethro Lee <dlemfh96@gmail.com>
Co-authored-by: MDHD <MDHD.Yee@outlook.com>
Co-authored-by: Robert Estelle <robertestelle@gmail.com>
Co-authored-by: Lutz Horn <code@lhorn.de>
Co-authored-by: Yufan You <ouuansteve@gmail.com>
Co-authored-by: Veit Lehmann <levito@users.noreply.github.com>
Co-authored-by: Emilien Escalle <neilime@users.noreply.github.com>
Co-authored-by: Jakob Hellermann <jakob.hellermann@protonmail.com>
Co-authored-by: Džiugas Eiva <dziugaseiva@gmail.com>
Co-authored-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
Co-authored-by: M. Yas. Davoodeh <30480116+MYDavoodeh@users.noreply.github.com>
Co-authored-by: Alexander Schaber <a.schaber@cuegee.com>
Co-authored-by: Joaquín Moreira <joaquinscript@gmail.com>
Co-authored-by: Piotr Zając <piotr.zajac@unixslayer.pl>
Co-authored-by: Frederick Zhang <frederick888@tsundere.moe>
Co-authored-by: Thi Doãn <t@thi.im>
Co-authored-by: Samuel Terra <samuelterra22@hotmail.com>
Co-authored-by: Amir Tahvildaran <amir@bizequity.com>
Co-authored-by: Peter J. Schroeder <peterjschroeder@gmail.com>
Co-authored-by: John Welsh <john.welsh@gmail.com>
Co-authored-by: Michal Grňo <m93a.cz@gmail.com>
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
Co-authored-by: Adam G. Emerson <35545129+AdamGEmerson@users.noreply.github.com>
Co-authored-by: Kirill Suslov <kirill.suslov@shopify.com>
Co-authored-by: daddeffe <daddef@gmail.com>
Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com>
Co-authored-by: Florian Klink <flokli@flokli.de>
Co-authored-by: Daniel Dugovic <dandydand@gmail.com>
Co-authored-by: Alessandro Martini <alessandrofmartini@gmail.com>
Co-authored-by: Lucas Larson <91468+LucasLarson@users.noreply.github.com>
Co-authored-by: Atk <atk@aaathats3as.com>
Co-authored-by: Randall Leeds <randall@bleeds.info>
Co-authored-by: 0xflotus <0xflotus@gmail.com>
Co-authored-by: Alessandro <alessandro.buonerba@ovoenergy.com>
Co-authored-by: James Eapen <jamespeapen@gmail.com>
Co-authored-by: Pierre-Luc Paour <github@paour.com>
Co-authored-by: Olivier Lemasle <o.lemasle@gmail.com>
Co-authored-by: Andrew Babichev <andrew.babichev@gmail.com>
Co-authored-by: Goose <52642831+rekaerst@users.noreply.github.com>
ksuzu46 pushed a commit to ksuzu46/ohmyzsh that referenced this pull request Oct 9, 2020
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
ksuzu46 pushed a commit to ksuzu46/ohmyzsh that referenced this pull request Oct 9, 2020
See ohmyzsh#9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>
crdant referenced this pull request in crdant/oh-my-zsh-custom Dec 30, 2020
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
crdant pushed a commit to crdant/oh-my-zsh-custom that referenced this pull request Dec 30, 2020
dpond pushed a commit to dpond/ohmyzsh that referenced this pull request Mar 23, 2021
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
dpond pushed a commit to dpond/ohmyzsh that referenced this pull request Mar 23, 2021
See ohmyzsh#9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>
mefryar added a commit to mefryar/ohmyzsh that referenced this pull request May 7, 2021
This commit adds two new aliases to the git plugin:
1. `gswm` as an alias for `git switch $(git_main_branch)`
2. `gswd` as an alias for `git switch develop`

Git 2.23 introduced `git switch` and `git restore` to divvy up the
responsibilities of `git checkout`. ohmyzsh#8089 added aliases for `git switch`
and `git switch -c` to the Oh My Zsh git plugin. ohmyzsh#8989 proposed adding
aliases for `git switch master` and `git switch develop` to mirror the
aliases that existed at the time for `git checkout master` and `git
checkout develop`. ohmyzsh#9049 changed `gcm` to be an alias for `git
checkout $(git_main_branch)`.

This would allow closing ohmyzsh#8989.

Authored-by: mefryar <Michael.E.Fryar@gmail.com>
@mefryar mefryar mentioned this pull request May 7, 2021
7 tasks
avpalmeira pushed a commit to avpalmeira/ohmyzsh that referenced this pull request May 20, 2021
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
avpalmeira pushed a commit to avpalmeira/ohmyzsh that referenced this pull request May 20, 2021
See ohmyzsh#9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>
grantstephens pushed a commit to grantstephens/oh-my-zsh that referenced this pull request Jun 23, 2021
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
grantstephens pushed a commit to grantstephens/oh-my-zsh that referenced this pull request Jun 23, 2021
See ohmyzsh#9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>
tinogomes pushed a commit to tinogomes/ohmyzsh that referenced this pull request Sep 24, 2021
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
tinogomes pushed a commit to tinogomes/ohmyzsh that referenced this pull request Sep 24, 2021
See ohmyzsh#9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>
maojj pushed a commit to maojj/oh-my-zsh that referenced this pull request Jan 10, 2022
* officialorigin/master:
  style: use 24bit colors in Oh My Zsh logo if supported
  fix(cli): follow symlinks in plugin or theme completions
  fix(rust): fix `cargo` completion when sysroot contains spaces (#10571)
  fix(svn): fix output order in `svn_dirty_choose` (#10572)
  docs(vi-mode): fix link typo in readme (#10570)
  style: some code style fixes
  refactor(kubectl): optimize completion generation
  style: declare globals properly
  fix(kubectx): allow prompt sequences in `kubectx_mapping` (#10562)
  fix(ubuntu): fix `defining function based on alias` error (#10560)
  fix(bureau): fix `status` variable name causing error (#10561)
  fix(kubectx): quote % in `kubectx_prompt_info`
  fix(fossil): refactor `fossil_prompt_info` and quote % in branch
  fix(aws): quote % in `aws_prompt_info`
  fix: quote % in `box_name` prompt functions
  fix(bureau): quote % in git prompt function and remove global variables
  fix(trapd00r): fix potential command injection in `zsh_path`
  fix(agnoster): quote % in prompt functions
  fix(virtualenv): quote % in `virtualenv_prompt_info`
  fix(jenv): quote % in `jenv_prompt_info`
  fix(pyenv): quote % in `pyenv_prompt_info`
  fix(lib): quote % in `nvm_prompt_info`
  fix(lib): quote % in `git_remote_status`
  fix(svn): refactor and quote % characters in `svn_prompt_info`
  fix(svn): return true repo name in `svn_get_repo_name`
  fix(svn-fast-info): quote % characters in svn branch name
  fix(svn-fast-info): URL-decode svn branch name
  style(svn-fast-info): fix code style and `svn info` locale
  ci: disable GitHub Actions on forks
  chore: simplify project GitHub Action
  chore: simplify `GITHUB_TOKEN` env in project GitHub Action
  chore: I'm dumb af
  chore: let's try again
  chore: look ma no auth!
  chore: please work
  chore: fix auth in Project tracking Action
  chore: use GITHUB_TOKEN auth for Project Beta GitHub Action
  chore: add Projects Beta GitHub Action
  style(python): fix code style and some hidden bugs
  chore(python): minor corrections on README (#10548)
  docs(zsh-navigation-tools): remove installation steps from README (#10549)
  fix(systemd): enable `--user` on restart command (#10543)
  fix(rust): use default toolchain when completing `cargo`
  docs(nvm): clarify how to get Homebrew directory (#10393)
  docs(sudo): document key binding change
  chore(ubuntu): add documentation for `acsp` alias (#10325)
  feat(terraform): add more aliases (#9989)
  feat(terraform): add PREFIX and SUFFIX settings to `tf_prompt_info` (#8605)
  feat(python): add utilities to manage simple virtual environments (#9776)
  feat(python): add `pyserver` alias to start an HTTP server (#10217)
  perf(yarn): skip `yarn` call if default global bin directory exists (#10290)
  chore(bazel): update completion to f146202c
  feat(npm): toggle `npm install` / `npm uninstall` by pressing F2 twice (#9717)
  fix(pip): don't overwrite `requirements.txt` in internal commands (#10061)
  fix(pip): use `pip3` in `pip3 uninstall` completion (#10271)
  fix(git-prompt): fix clean prompt when stash is not empty (#9978)
  feat(debian): add `alu` alias for list and upgrade packages (#7928)
  chore(debian): document previous alias
  feat(debian): add `aar` alias for autoremove (#7869)
  feat(composer): add `cuh` alias for updating global packages (#6048)
  feat(composer): add `cs` alias for `composer show` (#10034)
  feat(common-aliases): add single-column and recursive `ls` aliases (#10096)
  feat(zbell): add option not to use notify-send (#10082)
  feat(vi-mode): add `INSERT_MODE_INDICATOR` (#9732)
  feat(transfer): allow encryption of uploads using GPG (#9983)
  fix(systemd): remove `sudo` from power-related aliases (#9441)
  feat(ruby): add new aliases `rrun` and `rserver` (#10218)
  feat(shell-proxy): support SOCKS protocol based on URI scheme (#10069)
  chore(ipfs): update completion script for IPFS version 0.8.0 (#9800)
  chore: add maintainer for `shell-proxy` plugin
  refactor(rvm): clean up `rb*` utilities definition and add more versions
  feat(rvm): add latest `rb*` utility functions (#9812)
  feat(repo): add command completion for repo 2.8 (#9388)
  feat(rake): support square brackets with rake binstub (#5361)
  fix(pass): update `pass` completion to ff5ac38 (#9761)
  feat(flutter): add a few more aliases (#9511)
  feat(ng): get `ng` completion from parsed help output (#10294)
  feat(macports): add commands to get list of updated ports (#8698)
  feat(helm): cache completion file in the background (#8326)
  feat(git-flow): add aliases for current `hotfix` branch
  refactor(git-flow): extract `git-flow` completion logic
  feat(git-flow): add aliases for current `feature` / `release` branch (#9439)
  feat(gcloud): support Homebrew Google Cloud SDK path (#9799)
  feat(fossil): add completion for `fossil add` (#8564)
  feat(fd): update fd completions (#9775)
  feat(ripgrep): update ripgrep completions (#9775)
  fix(fastfile): fix multiple bugs in plugin (#9574)
  refactor(emoji): rewrite script w/ Python and update emojis (#8069)
  feat(ember-cli): add completions for ember-cli (#5916)
  feat(drush): add Drupal 8 aliases to `drush` plugin (#9498)
  style(drush): fix code and README style
  style(acs): fix style and gitignore __pycache__ folder
  feat(bundler): add completion for `info` argument (#9594)
  feat(arcanist): add `arbl` and `arho` aliases (#6132)
  feat(autojump): add support for NetBSD (#9746)
  feat(ant): enable colored output by default (#6688)
  refactor(ant): extract completion function
  docs(aliases): clarify usage (#9990)
  docs(oc): update link to openshift CLI reference (#9667)
  feat(volta): add dynamic completion generation (#10515)
  feat(rbw): add completion for `rbw` Bitwarden client (#10346)
  feat(pip): alias `pip` to `pip3` if pip is missing (#10431)
  refactor(plugins): generate completion functions in the background
  chore: fix comment bulk replace
  refactor: handle `$0` according to the Zsh plugin standard (#10518)
  refactor(rust)!: merge `cargo` and `rustup` plugins into `rust` plugin (#10270)
  refactor(cargo): generate completion file in the background
  refactor(rustup): generate completion file in the background (#10392)
  fix(random): fix negated logic in `ZSH_THEME_RANDOM_QUIET`
  fix(gnu-utils): reassign GNU utils on `preexec` (#10535)
  fix(gnu-utils): always reapply GNU coreutils on `rehash`
  fix(installer): fix POSIX shell syntax of previous commit
  fix(installer): don't hard-code user `$HOME` directory on install
  refactor(golang): move completion out of the plugin
  fix(golang)!: rename `gop` alias to `gopa` to avoid conflict with Go+ (#10504)
  feat(golang): add aliases for `go tool` utility (#10361)
  feat(golang): add `gofx` alias for `go fix` (#10220)
  fix(random): fix `ZSH_THEME_RANDOM_QUIET` check (#10534)
  refactor(composer): improve completion and use official Zsh completion if available
  style(composer): fix code and README style
  fix(dirhistory): define key bindings for vi mode (#10450)
  feat(zsh-navigation-tools)!: update to zdharma-continuum fork (#10402)
  feat(lpass): add plugin for LastPass CLI completion (#9323)
  fix(symfony2): silence debug lines in command completion (#10528)
  feat(yarn): upgrade completion to latest version (#10516)
  feat(asdf): add support for archlinux/AUR package (#9893)
  fix(asdf): fix path to Homebrew installation of `asdf` (#10481)
  fix(cli): respect `ZDOTDIR` in plugin/theme change commands (#10520)
  fix(af-magic): add space before git and hg information (#9396)
  feat(brew): improve `brews` list layout (#10135)
  feat(rvm): add alias `rvms` (#10219)
  docs(README): Document .pre-oh-my-zsh (#10315)
  feat(operator-sdk): add plugin for operator-sdk (#10423)
  feat(jfrog): Support jf executable auto completion (#10503)
  feat(cnf): Added support for SUSE-derived operation systems (ZYpp) to CNF plugin (#10508)
  feat(istioctl): add plugin for istioctl (#10410)
  feat(volta): add volta plugin (#10441)
  feat(deno): adding drA alias for --allow-all (#10501)
  fix(heroku): fix XDG cache directory name and code style (#10436)
  feat(fzf): support fzf in Cygwin (#9463)
  refactor(fzf): adopt code style and simplify function naming (#10514)
  fix(jonathan): fix top bar alignment with RPROMPT
  fix(cli): fix plugin and theme suggestions in completion for older zsh versions
  fix: declare variables as global when using `typeset`
  style: use `typeset` for dynamic variable names
  feat(archlinux): add aliases for cleaning package cache (#10091)
  fix(ys): use default color instead of gray for improved readability (#10506)
  fix: quote % characters in ruby prompt info functions
  style(rbenv): adapt to code style
  style(chruby): fix plugin code style and loading process
  style(rbfu): clean up code
  refactor(themes): use `ruby_prompt_info` everywhere
  style(simonoff): fix code style and optimize use of variables
  fix(jonathan): fix theme for non-UTF8 locales
  style(jonathan): fix code style in jonathan theme
  fix(bira): fix color bleed in user_host prompt section (#10505)
  refactor(adben): simplify used variables and %-quote prompt functions
  fix(lib): %-quote git prompt functions
  refactor(shell-proxy)!: rename env vars to `SHELLPROXY_*` and add usage message (#10456)
  feat(afowler): add mercurial support
  style(afowler): simplify code and remove unnecessary variables
  style(af-magic): fix code style and remove unnecessary variables
  fix(mercurial): correctly check for untracked files in `hg_dirty` (#2177)
  perf(mercurial): optimize utility functions
  feat(mercurial): add `hgci` alias for interactive commit (#8912)
  feat(bira): improve theme and add support for mercurial (#6631)
  feat(mercurial)!: use `PREFIX` and `SUFFIX` settings in `hg_prompt_info` (#6631)
  perf(mercurial): improve performance of `hg_prompt_info` (#7929)
  fix(mercurial): show author name in `hgsl` alias log alias (#3500)
  chore: add ohmyzsh GitHub Sponsors to FUNDING.yml
  ci(spelling): turn off check-spelling action temporarily
  ci(spelling): automatically accept aliased commands (#10475)
  chore: update security docs and link to huntr.dev
  ci: add `check-spelling` action (#10470)
  feat(branch): show mercurial bookmarks if used (#9948)
  feat(updater): show command to update when update skipped (#10465)
  Revert "ci: add `check-spelling` GitHub Action"
  ci: add `check-spelling` GitHub Action
  chore: fix spelling errors across the project (#10459)
  chore: update new issue templates
  feat(cli): add `omz version` command
  feat(aws): Adds the login option for AWS SSO (#9921)
  feat(git): Add alias for rebasing to origin/main-branch (#10445)
  feat(dotnet): add alias for `dotnet build` command (#10435)
  feat(xcode): support `.swiftpm` as project file in `xc` (#10434)
  fix(lib): don't error if `INSIDE_EMACS` is not defined (#10443)
  fix(updater): stop update if `$ZSH` is not a git repository (#10448)
  style(bundler): simplify `bundled_commands` array operations
  fix(bundler): use BUNDLE_JOBS in `bi` to avoid config file change
  fix(bgnotify): avoid permission prompts by checking frontmost app ID (#10318)
  fix(docker-compose)!: check for old command instead of calling `docker` (#10409)
  fix(osx): deprecate `osx` plugin without symlink (#10428)
  feat(kn): add plugin for `kn` completion (#8927)
  feat(ssh-agent): add `quiet` option to silence plugin (#9659)
  fix(install): fix backslash in `printf` when showing logo (#10422)
  style(dirhistory): remove use of `eval` completely
  fix(themes): fix potential command injection in `pygmalion`, `pygmalion-virtualenv` and `refined`
  fix(plugins): fix potential command injection in `rand-quote` and `hitokoto`
  fix(lib): fix potential command injection in `title` and `spectrum` functions
  fix(dirhistory): fix unsafe eval bug in back and forward widgets
  fix(lib): fix `omz_urldecode` unsafe eval bug
  fix(dirhistory): fix Up/Down key bindings for Terminal.app
  fix(command-not-found): pass arguments correctly in Termux (#10403)
  fix(cli): avoid `git -C` for compatibility with git < v1.8.5 (#10404)
  fix(updater): avoid `git -C` for compatibility with git < v1.8.5 (#10404)
  refactor(updater): simplify check for available updates
  style(frontend-search): rename completion file to `_frontend`
  fix(cli): fix check for completion files in `omz plugin load`
  fix(emotty): fix glyphs output width in emotty theme
  feat(refined): allow selecting git branch by changing prefix to `:` (#10400)
  style: use `-n` flag in `head` and `tail` commands (#10391)
  feat(tmux): set session name with `ZSH_TMUX_DEFAULT_SESSION_NAME` (#9063)
  refactor(percol): fix style, bind keys for vi-mode and remove dependencies
  refactor(osx): Rename osx plugin to macos (#10341)
  fix(updater): stop update if connection unavailable
  docs: add Security Policy
  fix(command-not-found): pass arguments correctly in NixOS (#10381)
  feat(ys): increase color contrast with light color schemes (#10295)
  feat(dirhistory): support urxvt terminal key binding (#8370)
  fix(dirhistory): fix ALT+Up/Down key bindings for Terminal.app
  docs(dirhistory): document OPT key alternative for macOS and fix style
  fix(lib): fix `1` alias to `cd` to directory 1 in stack (#10370)
  chore: fix grammar mistake in `CONTRIBUTING.md` (#10362)
  feat(xcode): support `Package.swift` as project file in `xc` (#10358)
  feat(fzf): support getting fzf from nix-darwin (#10355)
  fix(changelog): fix for `${(@ps:$sep:)var}` construct in zsh < 5.0.8
  fix(changelog): fix percent escapes in `printf` calls
  perf(changelog): use regex-match instead of `sed` to parse commit subjects
  fix(changelog): go back to ignoring commits from merged branches
  perf(changelog): use a single `git log` command to get all commit messages
  feat(mix): update `mix` commands and descriptions (#10273)
  fix(changelog): don't show more than 40 commits (#10345)
  fix(cli): exit `omz update` with correct error code (#10342)
  fix(ssh-agent): fix check for running `ssh-agent` process with hidepid /proc (#8492)
  feat(osx): add `freespace` command to clean purgeable disk space (#8762)
  fix(ruby)!: rename aliases that start with `g` to `ge`
  feat(ruby): add multiple `gem` aliases (#9005)
  Swapping gh with ghlp as 'gh' is reserved for the Github CLI. #9005
  docs(README): document new `zstyle` update settings (#10304)
  feat(updater): add support for terminal hyperlinks
  feat(obraun): display time with leading zeros (#10289)
  fix(ssh-agent): fix for bad `zstyle` command argument
  feat(ssh-agent): allow lazy-loading SSH identities (#6309)
  feat(mvn): support using `mvnw` in multi-module projects (#9413)
  fix(lib): fix `diff --color` argument check for BSD systems (#10269)
  fix(git): fix directory parse from URL in `gccd` (#10276)
  fix(lib): fix status exit code check in `git_prompt_status` (#10275)
  feat(git): add `gswm` and `gswd` aliases (#9897)
  fix(battery): force battery percentage as integer
  fix(battery): fix system check so Termux uses the correct method
  feat(battery): add support for Android via Termux (#9752)
  fix(battery): support `acpitool` and multiple batteries under Linux (#9609)
  Revert "fix(changelog): don't parse commits of ignored types"
  feat(yarn): add global bin directory to `$PATH` (#9410)
  feat(sublime): add support for Sublime Text 4 on Windows (#10063)
  chore: zshrc update settings rewording
  feat(z): update z to latest version (#10267)
  fix(git)!: rename `gdu` alias to `gdup` (#10263)
  fix(changelog): don't parse commits of ignored types
  chore(chucknorris): add a few more Chuck Norris quotes (#10210)
  refactor(chucknorris): refresh plugin code
  fix(gpg-agent): correctly overwrite `$SSH_AUTH_SOCK` and other improvements (#7059)
  fix(docker-compose): fix for slow `docker compose` call on remote Docker contexts (#10264)
  fix(jsontools): fix broken conditional in zsh 5.0.2 (#10262)
  fix(cli): fix zsh array syntax for szh 5.0.2
  fix(init): rename function `f` due to clash with `f` alias (#10260)
  feat(git): add `gccd` alias to clone and cd into git repository (#8220)
  fix(per-directory-history): fix use of global history on shell start (#9008)
  feat(cli)!: add `omz reload` command and deprecate `zsh_reload` plugin (#9078)
  docs(python): update README to include new `py` alias (#9995)
  feat(mercurial): add `hg log` aliases (#9979)
  feat(yarn): add `ylnf` alias to fix linting problems (#9219)
  feat(yarn): update completion from zsh-completions (73505e4)
  feat(docker-compose): update completion (4fa72a0, 2021-01-19)
  fix(docker-compose): support Compose V2 `docker compose` command (#10248)
  feat(updater): check if there are updates before prompting (#8387)
  feat(updater): add mode to only remind you to update when it's time (#10187)
  refactor(updater): change auto-update settings to use `zstyle`
  feat(git): run `gitk` in the background in `gk` and `gke` aliases (#9657)
  feat(init): show error and process tree if OMZ is loaded from non-zsh shells (#10234)
  fix(pyenv): fix pyenv-virtualenv detection under macOS.
  feat(cli): show current theme in `omz theme list`
  fix(half-life): fix prompt color bleeding and code clean up (#10085)
  fix(cli): get branch and tags from OMZ folder in `omz changelog` completion
  feat(juju): add plugin for Juju (juju.is) (#10075)
  feat(lib): don't correct `su` command arguments (#10214)
  fix(lib): fix automatic title abort inside Emacs (#10124)
  fix(emacs): correctly pass arguments to emacsclient when $2 is stdin
  fix(emacs): assess if there are open frames of the expected type
  refactor(emacs): simplify emacsclient wrapper code
  refactor(emacs): remove dependency on `require_tool.sh` and clean up code style
  refactor(archlinux)!: remove `yaourt` support (#9713)
  fix(osx): only run Preview.app in `man-preview` if man page exists (#10222)
  fix(init): detect and abort on non-zsh shell execution of Oh My Zsh
  docs(vi-mode): document `$KEYTIMEOUT` issue (#9588)
  fix(init): fix `division by 0` error (#10213)
  style(installer): use rainbow logo and polish success message (#10211)
  refactor(vim-interaction): clean up code and open gvim instance if none open (#10209)
  Revert "feat(archlinux): add cleanup aliases to `yaourt` and `yay` (#10184)"
  feat(lib): allow setting custom completion dots sequence (#9424)
  refactor(django)!: deprecate plugin in favor of Zsh's django completion
  feat(update): allow updating from branch set up on install
  feat(jsontools): add tools to pretty print json-lines (ndjson) (#10176)
  refactor(jsontools): move to functions, align `is_json` tool to return exit code
  refactor(jsontools): restructure and simplify logic
  feat(lando): add support for `php` command (#10146)
  docs(kubectx): fix README sample code syntax (#10199)
  feat(archlinux): add cleanup aliases to `yaourt` and `yay` (#10184)
  fix(update): silence `typeset` calls in `upgrade.sh` script (#10048)
  feat(golang): add `goga` alias to install dependencies in current directory, recursively (#7786)
  feat(golang): add `gota` to test current directory recursively (#8974)
  style(core): make alternative cache directory equivalent to Arch Linux package
  fix(core): use `$HOME/.cache` if default cache dir is non-writable (#10193)
  refactor(plugins): remove old generated completion files
  fix(core): move plugin-generated completion files to `$ZSH_CACHE_DIR/completions`
  fix(plugins): fix `_comps` error in completion generation plugins (#10190)
  fix(docker): remove unwanted asterisk in completed docker commands
  Revert "feat(ssh-agent): only start ssh-agent once (#5359)"
  fix(copybuffer): define CTRL+O binding for all keymaps (#6442)
  fix(cp): add unique suffix to rsync backup directory for each user (#10170)
  fix(vim-interaction): look up the newest GVim instance (#9095)
  feat(git): add `gdu` alias to diff against upstream (#8721)
  fix: automatically create completion for `cargo` and `rustup` plugins (#10087)
  chore(changelog): fix first-letter uppercase in breaking change messages
  feat(changelog): print BREAKING CHANGE messages in a prettier way
  feat(git-auto-fetch): add date to git-auto-fetch log file (#10021)
  fix(git-auto-fetch): cancel fetch if we don't have permission over git folder (#10010)
  fix(git)!: rename `git mergetool` aliases to `gmtl*` (#9154)
  feat(changelog): change style of `BREAKING CHANGES` header
  fix(chruby): fix typo in test for Homebrew path (#9887)
  feat(autojump): add new Homebrew default path on M1 Macs (#9637)
  feat(gcloud): add Mac M1 Homebrew path (#10143)
  feat(git): change from commiter to author in `git log` aliases (#9670)
  fix(pyenv): do not warn if PYENV_ROOT is undefined (#10162)
  feat(pyenv): don't load pyenv-virtualenv with `ZSH_PYENV_VIRTUALENV=false`
  feat(pyenv): silence bad config warning with `ZSH_PYENV_QUIET=true`
  fix(pyenv): properly load pyenv shims and warn of broken configuration
  feat(git): guess main branch name also from remotes (#10158)
  fix(frontend-search): fix codepen.io search (#10157)
  fix(sudo): allow different $EDITOR settings and fix zsh-syntax-highlighting redraw
  style(sudo): apply main style guide indentation
  feat(ssh-agent): allow specifying absolute path to `identities`
  fix(git): fix `gbda` alias when there are no merged branches (#10005)
  refactor(ssh-agent): clean up and reorganize code
  feat(ssh-agent): only start ssh-agent once (#5359)
  feat(ssh-agent): allow using external helper to ask for passwords (#7631)
  feat(mlh): let users configure the official MLH theme (#9997)
  fix(kubectx): show plain context if not mapped (#10134)
  fix(suse): avoid refresh attempts for Zypper queries (#9798)
  feat(cli): add `theme set` subcommand to change theme in .zshrc
  style(cli): print usage messages to stderr
  fix(pyenv): fix for checking if pyenv-virtualenv is installed
  docs(pyenv): document necessity to logout after PATH settings
  fix(lib): fix clipboard copy on Termux
  fix(updater): fix reset ANSI escape code for resetting underline format
  style(cli): fill rows in column output in theme and plugin `list` commands
  refactor(cli): extract substitution awk script in `plugin disable`
  fix(cli): fix multiple errors in `plugin disable/enable`
  feat(cli): add subcommands for plugin `enable` and `disable` (#9869)
  fix(colemak): remove `lesskey` usage in less v582 and newer (#10102)
  docs(dirhistory): document keyboard shortcut conflict with Windows Terminal
  fix(changelog): also display commits from merged branches
  style(extract): adopt main code style guide and refactor variables
  fix(extract): don't push entries to dirstack when extracting rpm and deb files
  fix(extract): correctly extract rpm files on other directories
  feat(extract): add cpio support
  fix(extract): support unpacking deb file from different directory
  feat(extract): add suport for .cab files via `cabextract`
  refactor(cloudapp)!: remove deprecated `cloudapp` plugin
  refactor(go)!: remove deprecated `go` plugin
  refactor(fedora)!: remove deprecated `fedora` plugin
  feat(cli): add `plugin load` subcommand (#9872)
  refactor(lib): refactor take functions
  feat(lib): add `mkcd` as equivalent to `takedir` (#9749)
  feat(plugins): `octozen` shows an Octocat zen quote on startup (#5959)
  feat(plugins): add completion plugin for `invoke` (#7311)
  feat(git): add `develop` branch name detection (#9881)
  chore(ag): fix README (#10001)
  fix(pyenv): fix for ignoring pyenv-win commands
  fix(pyenv): fix pyenv PATH settings with a warning (#9935)
  feat(plugins): add fnm plugin (#9864)
  chore(github): add links to supported tools (#10057)
  chore: convert the repo issue templates to issue forms (#10050)
  fix(aws): allow for profile switch w/o MFA configured (#9924)
  fix(copybuffer): show error below the command line
  feat(gnu-utils): include ggrep in gcmds (#10044)
  fix(update): fix error exit code on update check (#10033)
  fix(dotenv): draw confirmation prompt in next empty line
  feat(changelog): ignore merge commits
  fix(lib): remove `kubectx` stub prompt function from lib
  Revert "ssh-agent: improvements (#6309)"
  refactor(git-glow): Add config interpolation for git-flow messages (#7481)
  feat(git): Add aliases for 'git commit -S -s [-m]' (#7616)
  feat(pm2): Adding a pm2 plugin (#7684)
  feat(supervisor): Add aliases for supervisor (#5819)
  perf(mercurial): speed up mercurial plugin (#4591)
  feat(nvm): introduce customizable list of command that triggers lazy loading (#9946)
  feat(zoxide): add new plugin for zoxide (a smarter cd CLI tool) (#9950)
  feat(git): Add alias for 'git checkout --recurse-submodules' (#9958)
  feat(pip): add alias for updating all requirements via pip (#9965)
  style(mlh): update the official theme of Major League Hacking (#9971)
  feat(kubectx): adding a new plugin for 'kubectx' (#6114)
  style(kubectl): Being more explicit alias to the main CLI tool instead of to another alias (#6567)
  feat(plugins): Add Ag completion (#3534)
  feat(plugins): New plugins for samtools and bedtools (#3574)
  feat(plugins): Plugin "debian": Switch order of "apt" and "aptitude" for detection (#7533)
  feat(supervisord): autocomplete for restart command (#5144)
  feat(plugins): Add helper function to get current mercurial bookmark (#4970)
  feat(plugins): Add a new showpkg alias to ubuntu plugin (#4653)
  feat(plugins): Add new isodate plugin for friendly date formatting commands (#9963)
  feat(plugins): add gpr alias for /git pull -rebase/ which is easier to remember (#9964)
  feat(take): add support to `take' for taking remote urls (#2029)
  feature(plugins): add bower commands aliases (#3387)
  fix(plugins): cache thefuck aliases (#5522)
  fix(virtualenvwrapper): several changes for checking git directory, including fixes (#5663)
  fix(kubectl): remove duplicated alias for kubectl plugin `kgsa` (#9927)
  feat(rails): Add `rdmr` (`rake db:migrate:redo`) alias to Rails plugin (#6124)
  feat(rails): Add `rdmd` and `rdmu` aliases to Rails plugin (#6126)
  feat(rails): add 'rails server --bind' alias (#4977)
  fix(vagrant): Allow dot in Vagrant box name (#4803)
  fix(update): correct description of how changelog is displayed (#9943)
  Aliases: Adding a README file for the plugin. #4662
  feat(plugins): add aliases cheatsheet plugin (#4662)
  ssh-agent: improvements (#6309)
  add python alias (#7736)
  feat(extract): add support for .ear files (#9901)
  chore(chucknorris): fix typo (#9916)
  fix(gentoo): fix the color of the prompt symbol (#9885)
  fix(dirhistory): fix ALT+Left/Right key bindings for iTerm2 (#9940)
  feat(dirhistory): add ALT+UP/DOWN key bindings for iTerm2 (#8502)
  feat(shrink-path): add ability to toggle off path shrinking (#9794)
  feat(git): add aliases `gcas` and `gcasm` for commit with sign-off (#8881)
  fix(cargo): complete flags for default cargo aliases (#9692)
  fix(command-not-found): remove invalid argument for PackageKit (#9876)
  feat(plugins): add `gh` plugin for GitHub CLI (#9557)
  fix(deno): actually load deno completion (#9863)
  fix(kubectl): use `--current` flag in `kcn` alias (#7605)
  chore: fix "Facebook" typo in README.md (#9378)
  feat(plugins): add plugin for `deno` (#9847)
  feat(npm): add aliases for `npm search` and `npm info` (#9365)
  feat(npm): add alias for `npm update` (#9442)
  feat(npm): add alias for `npm i -f` (#8454)
  feat(fzf): look in XDG compliant location (#9858)
  feat(systemadmin): add IPv6 info to `geteip` command (#9856)
  feat(ys): add virtualenv prompt info (#8453)
  feat(ys): add setting to hide dirty info in hg repositories (#8415)
  fix(gentoo): fix tab color completion (#9810)
  docs(rails): reflect changes to aliases (#9809)
  feat(command-not-found): add support for Termux (#9666)
  refactor(command-not-found): clean up and reorganize logic
  feat(command-not-found): add support for Homebrew on Apple M1 (#9797)
  feat(archlinux)!: remove deprecated commands `aur` and `abs` (#9803)
  feat(react-native): add aliases for iPhone 12 (#9792)
  chore: direct support queries to Discussions
  chore: I'm dumb
  chore: fix CONTRIBUTING.md TOC
  docs: document commit convention in CONTRIBUTING.md
  chore: add maintainer for archlinux plugin
  feat(archlinux): add support for aura AUR helper (#9467)
  feat(shell-proxy): enable unexported `DEFAULT_PROXY` setting (#9774)
  refactor(archlinux): fix name & scripts; reorder aliases (#9546)
  feat(theme_chooser): display non-zero exit code (#8428)
  fix(dirhistory): make sure to call built-in zle widgets (#9771)
  fix(git): add `push` or `save` to `gstu` alias (#9766)
  refactor(adben): refactor theme and degrade gracefully on missing dependencies (#9734)
  fix(virtualenv): allow empty prefix/suffix in prompt function (#9763)
  feat(plugins): add hitchhiker plugin (#5117)
  fix: use `$USERNAME` guaranteed to always be defined in zsh
  refactor(installer): fix static analysis warnings (#9529)
  fix(vi-mode): fix keymap indicator on zle-line-finish (#9620)
  fix(fossil): PROMPT and RPROMPT are no longer exported (#9655)
  feat(ssh-agent): add `ssh-add-args` setting (#7908)
  feat(fzf): add support for Termux package (#9718)
  fix(emotty): fix `bad assignment` error (#9714)
  feat(git): add `grbo` alias for `git rebase --onto` (#8088)
  fix(uninstall): fix renaming .zshrc when no original rc file found
  feat(gentoo)!: use `vcs_info` to support other VCSs (#9440)
  fix(terraform): use faster method to get workspace (#9709)
  fix(update): don't error on upgrade no-op (#9685)
  feat: add mongocli plugin (#9248)
  [docker-compose] Added alias for docker-compose up --build (#8843)
  Replce 'rake routes' task with 'rails rotues' (#9662)
  refactor(git-flow): remove duplicate `gflfp` alias (#9640)
  refactor(gallois): clean up theme and fix typos
  docs(git-prompt): explain stashed icon (⚑) (#9619)
  fix(updater): refresh date of last update only on successful update
  Bump year to 2021
  fix(vi-mode): ignore `clip*` function errors in yank and put widgets
  feat(essembeh): update theme with new features (#9595)
  feat(plugins): add `zbell` plugin to notify when commands end (#3034)
  feat(plugins): add `term_tab` plugin to complete other zsh sessions' directories (#3018)
  fix(debian): add quotes to `kclean` alias (#3066)
  fix(lib): use -N syntax in `head` and `tail` to support Solaris (#6391)
  feat(git-prompt): display stash count in prompt
  feat(git-prompt): display untracked files count
  chore: caution against `COMPLETION_WAITING_DOTS` in template (#8352)
  fix(colorize): bypass less aliases in `colorize_less` (#9593)
  feat(last-working-dir): log separate `lwd`s for different SSH keys on the same user account (#9534)
  feat(macports): add 'reclaim' to completion list for Macports (#9521)
  fix(jake-node): support all Jakefile filenames in `jake` completion (#9589)
  fix(changelog): fix spacing in breaking changes message
  fix(universalarchive): make plugin zsh-only to fix `realpath` not found error
  fix(lib): update Emacs terminal detection in `title` function (#9577)
  fix(changelog): display scope in breaking change messages
  fix(CLI): show symlinked themes in `omz theme list`
  chore: add Konfekt as universalarchive maintainer
  feat(plugins): add `universalarchive` plugin to conveniently compress files (#6846)
  fix(vi-mode)!: add back edit-command-line key binding as 'vv' (#9573)
  fix(vi-mode): hide cursor-change logic behind `VI_MODE_SET_CURSOR` setting
  docs(vi-mode): revamp README and document settings
  fix(archlinux): update URL and key server in `pacmanallkeys` (#9569)
  feat(CLI): add `plugin info` subcommand (#9452)
  refactor(vi-mode): remove duplicate bindkey logic and fix syntax
  fix(vi-mode): control cursor, restore and use visual mode and speed up mode changes (#8004)
  docs(nvm): clarify how to enable settings (#9542)
  fix(lib): mark changes as MODIFIED on 'MM' in `git_prompt_status` (#9552)
  feat(git): add grst alias for `git restore --staged` (#8932)
  feat(docker): update completion to upstream version (#9470)
  fix(CLI): properly get zsh command in `omz update` (#9558)
  feat(grc): source `grc.zsh` instead of hard-coding its content (#9553)
  fix(changelog): remove CR characters in breaking change messages
  fix(brew)!: update `bcubc` alias to use `brew upgrade --cask` (#9501)
  fix(updater): don't pipe changelog to less when updating
  fix(genpass): use `log()` instead of `log2()` for zsh < 5.6 (#9548)
  chore: update git-lfs maintainer handle
  fix(genpass): improve performance and usability and fix bugs (#9520)
  fix(genpass): add compatibility for macOS paste command
  fix(genpass): warn if no wordlist is found
  fix(genpass): check for presence of shuf command.
  fix(genpass): fix grep regex in `genpass-xkcd` for FreeBSD version (#9514)
  fix(genpass): only use words with ASCII characters in `genpass-xkcd` (#9508)
  fix(changelog): allow breaking change message to span multiple lines
  feat(updater): save version prior to updating so `omz changelog` just works™
  feat(plugins): add genpass plugin with 3 distinct password generators (#9502)
  fix(composer): autoload `_cache_invalid` for antigen compatibility
  chore!: notify breaking change in `git_prompt_info`
  feat(lib): show upstream branch in `git_prompt_info` (#9188)
  refactor(hanami): change global aliases and clean up README
  Document fd alias change in README
  fd: Rework command to be more idiomatic
  feat(plugins): add grc plugin for Generic Colouriser (#9315)
  fix(git): silently fail in `git_main_branch` if not in a git repo (#9484)
  chore: add Josh Medeski as `wp-cli` plugin maintainer
  refactor(archlinux): prevent leaking local variables (#9476)
  feat(wp-cli): add aliases for DB management (#9469)
  feat(lib)!: soft-deprecate `upgrade_oh_my_zsh` function for everybody
  fix(changelog): fix assoc array syntax for zsh 5.4.2 and older (#9495)
  fix(updater): don't show changelog when running unattended update (#9495)
  fix(command-not-found): show error in Ubuntu when no package is found (#9418)
  fix(changelog): fix highlight of codeblocks in subject
  feat(CLI): add `--unattended` flag to `omz update` to not reload zsh (#9187)
  fix(updater): properly show changelog via `less`
  fix(git-prompt): make `gitstatus.py` python3-compatible (#9186)
  fix(updater): fix ignored variable name in read
  fix(updater): make sure to run it with zsh
  feat(CLI): add `omz changelog` command
  feat(updater): add changelog display by parsing the commit list
  fix(updater): correctly restart the zsh session when the update pulled changes
  refactor(updater): switch to Zsh execution and fix git remote detection logic
  fix(git-auto-fetch): background `git-fetch-all` and other fixes (#9468)
  fix(magic-enter): fix various bugs in the plugin (#9466)
  style(ansible): minor style change (#8356)
  feat(terraform): add autocompletion for Terraform 0.13 (#9226)
  fix(shell-proxy): change NAME env variable for WSL clash (#9447)
  feat(gitfast): update to git-completion 1.2 (#9458)
  feat(aws): respect optional parameters from the AWS CLI config file (#9453)
  refactor(colored-man-pages): move nroff wrapper and refactor logic in `colored` function (#9437)
  feat(git): support trunk branches in `git_main_branch` (#9417)
  feat(sudo): support aliases to $EDITOR (#9431)
  docs(aws): add config examples (#9422)
  fix(aws): fix acp function for MFA without role and other fixes (#9426)
  docs(thefuck): add description for enabling the plugin (#9433)
  fix(battery): use `pmset` for battery percentage in macOS (#9364)
  fix(installer): fix error message if $ZSH exists when installing
  fix(lib): make opts local in omz_urlencode to fix scoping bug
  fix(fzf): consistently ignore .git directory in `FZF_DEFAULT_COMMAND` (#9421)
  Revert "lib: remove share_history"
  fix(aws): support MFA for profiles without role to assume (#9411)
  aws: split setting profile from changing profile (#9402)
  Add maintainer for aws plugin
  aws: get and set session token if available (#9397)
  colorize: add compatibility for zsh < 5.1 (#9400)
  Fix labels in issue templates
  gitfast: fetch latest fixes from git-completion (#9390)
  lib: delete zsh session history list
  aws: add role delegation and MFA support as per IAM Best Practices (#8419)
  gitfast: improve command aliases (#9385)
  gitfast: update to latest upstream and more (#9382)
  npx: deprecate plugin
  Grammar: remove hyphens from predicate adjective “up to date” (#9356)
  kubectl: add aliases for serviceaccount, daemonsets and cronjob (#9344)
  Revert "lib: treat _ and - as part of a word"
  fzf: add check for OpenSUSE and OpenBSD packages (#9327)
  lib: follow symlinked plugins in `plugin list` CLI command
  lib: allow bare output in theme and plugins list command
  lib: use `column` to format plugin and theme list CLI commands
  kubectl: check for empty cache completion file
  kubectl: verify kubectl is installed before running compdef (#9346)
  globalias: use ${(z)var} to split into words using shell parsing
  globalias: expand filtering to anywhere in the command (#9338)
  safe-paste: fix _bracketed_paste_zle_init/finish error
  git-prompt: document Python prerequisite in README (#9336)
  meta: add checklist instructions on Pull Request template
  Add gitpod integration
  globalias: allow filtering values not to be expanded (#9331)
  emacs: add ansi-term directory tracking (#9218)
  systemadmin: correct sort order for psmem aliases (#6253)
  agnoster: fix icon for unstaged git status (#9164)
  lib: fix regex bug in git_prompt_status
  lib: remove share_history
  lib: fix `omz help` and reword
  lib: fix fmt removing ESC characters in theme and plugin list CLI commands
  Add lando plugin (#8748)
  mvn: list modules (directories with pom.xml) (#8478)
  mvn: add Quarkus support in mvn completion (#9037)
  wd: update to v0.5.1 (#9273)
  nvm: add autoloading of nvm version in .nvmrc
  nvm: exit the plugin if the nvm loading script wasn't found
  nvm: only lazy-load nvm if the NVM_LAZY setting is set
  nvm: speed-up nvm loading with `--no-use`
  nvm: check $XDG_CONFIG_HOME/nvm for an nvm installation
  nvm: simplify nvm.sh and bash completion loading
  nvm: use `nvm current` in nvm_prompt_info and look in alternate install locations
  lib: fix formatting in `omz pr clean` CLI command
  lib: add plugin and theme subcommands and fix `omz pr clean`
  Fix performance drop of iterating over lines and other stuff
  git_prompt_status now uses hash lookups instead of multiple greps
  lib: hide git_prompt_status when hide-status is set
  safe-paste: refresh plugin (update for zsh 5.1 and vi keymaps) (#7887)
  Add git-lfs plugin (#9077)
  lib: follow standards in window title (#9320)
  kubectl: add wrappers for colorized output in JSON and YAML (#9316)
  nvm: add Homebrew's nvm setup (#8316)
  z: upgrade plugin to the latest version (#9310)
  Revert "Remove redundant bashcompinit calls"
  fino: stop bold with prompt sequence
  fino: fix dangling "using" and clean up (#9307)
  git: fix version check
  git: run gfa with --jobs=10 (fetch remotes in parallel) (#9268)
  bundler: refactor bundler plugin and clean up gem wrappers
  bundler: format aliases table and clean up README (#9300)
  Add completion plugin for IPFS (InterPlanetary File System) (#4737)
  Add sublime-merge plugin (#7228)
  pip: move plugin cache to XDG folder (#9299)
  Remove redundant bashcompinit calls
  terraform: add tf Alias (#8206)
  minikube: fix spelling (#9270)
  lib: support simple terminal in title function
  composer: autoload cache functions
  lib: support alacritty $TERM in title function
  brew: add alias for brew to avoid upgrading casks (#9280)
  bgnotify: use $2 in preexec hook if $1 is empty
  lib: correct :q syntax in title function for clarity
  Fix image alignment
  Right-align table in README
  A few README tweaks
  laravel5: clean up
  agnoster: allow disabling AWS prompt with SHOW_AWS_PROMPT=false
  lib: clean up zsh_stats function
  avit: reenable use of $fg instead of prompt sequence colors to fix weird bug
  random: add ZSH_THEME_RANDOM_QUIET setting
  docker: document option-stacking setting
  Remove racially-charged language from the codebase
  brew: replace deprecated brew cask outdated command (#9253)
  docs: fix small typo in README (#9255)
  meta: change support label
  meta: change feature label
  pyenv: run pyenv init with --no-rehash (#8917)
  wd: update to latest version (v0.5.0) (#9244)
  update: return git error code on failure (#9238)
  fzf: setup FZF_DEFAULT_COMMAND based on installed tools (#8895)
  sublime: add Sublime Text 4 path for macOS
  common-aliases: lazily assign $BROWSER, $EDITOR and $XIVIEWER in ext aliases
  lib: treat _ and - as part of a word
  init: define $ZSH if not defined
  Add sponsor button
  fishy: fix one-level directory bug and bad array assignment in zsh 5.0.1
  Remove perl dependency
  chuck-norris: remove some CN quotes and fix formatting (#9220)
  pygmalion: use pure zsh instead of perl (#9210)
  vagrant-prompt: replace `grep -P` call with sed and clean up
  scd: update to 1.4.0 (#9066)
  zsh_reload: use $SHELL to reload zsh only if it's a zsh shell (fixes #9054)
  sudo: keep space before the command to ignore it in the history (#9178)
  Update README with new update command (#9203)
  Remove missing screenshots from kube-ps1 README
  docs: document oneline argument passing to install script
  docs: add fetch install command for FreeBSD (#9172)
  meta: don't apply support label on bug reports
  Remove zsh session restart on omz update and upgrade_oh_my_zsh
  Fix upgrade_oh_my_zsh function deprecation
  Underline links in install and update script
  aliases: Don't overshadow fd
  lib: remove CTRL-Backspace key binding altogether
  meta: add ISSUE_TEMPLATE config.yml
  lib: remove CTRL-Backspace binding for vi keymaps
  wd: fix permissions
  wd: update to latest version
  cli: add update command (#9094)
  lib: bind to all keymaps when COMPLETION_WAITING_DOTS is set
  lib: add CTRL-backspace and CTRL-delete to delete whole words
  lib: bind keys to viins and vicmd keymaps and clean up file
  pyenv: ignore $PATH pyenv if on WSL
  Remove non-existing %p prompt sequence from themes
  lib: substitute COMPLETION_WAITING_DOTS for ellipsis
  pipenv: toggle pipenv shell on startup
  colorize: add $ZSH_COLORIZE_CHROMA_FORMATTER config env var (#8824)
  rbenv: fix current_gemset
  lib: support mlterm-256color
  aws: improve check for aws_completer - unhardcode path (#9123)
  battery: add acpi requirement to README (#9116)
  extract: add IPA to extractable filetypes (#9117)
  git: go back to previous main branch detection logic
  timer: threshold to show timers only for time-consuming commands (#8151)
  docker-compose: add alias for `docker-compose kill` (#8997)
  kubectl: add alias to list pods by namespace (#8604)
  httpie: add alias for https (#8032)
  update: prefix rm call with command in trap (#9107)
  Fix self check link
  vscode: add support for VSCodium (#9080)
  git: change docs for git_main_branch
  git: better algorithm to decide what's the main branch
  dotenv: add never option to confirmation prompt (#9102)
  yarn: add alias for upgrade-interactive to the latest version (#8764)
  mix-fast: add decriptions to mix-fast completions (#8561)
  git: use `master` if it exists, otherwise use `main`
  aws: allow @ in AWS profiles (#9099)
  lib: safety fix and speed-ups for git.zsh prompt functions (#7804)
  lib: prefix diff call with command to bypass diff aliases
  sudo: make the behavior more in line with expectations (#9047)
  Edit for better consistency in template (#8593)
  Bug and Feature Request Templates + MLH Theme + Readme (#9068)
  cli: beauty touches on 'omz pr test' command
  git: change main branch naming scheme (#9049)
  lib: enable diff color (#8807)
  agnoster: fix git working tree check (#9072)
  install: fix typo (#9069)
  gradle: force `--console plain` for tasks cache generation (#8731)
  spacing changed
  Handle unset variables in various parts of the codebase (#8944)
  encode64: fix typo in README (#9052)
  Modernize install and update banners (#9045)
  update: change dash in function name for sh compat (fixes #9064)
  update: only update on a valid affirmative input (#9062)
  Add new mvn alias for `mvn fmt:format` (#9053)
  archlinux: fix pacweb breaking when multiple packages found (#9059)
  core: add title support for mlterm (#8303)
  Deprecate cloudapp plugin (fixes #8966)
  init: don't run update check if DISABLE_AUTO_UPDATE (#9040)
  osx: refactor plugin and add a few features (#9026)
  init: run update check in the same zsh process (#9019)
  Change Discord invite URL
  muse: clean up theme
  web-search: add Google Scholar (#9014)
  web-search: allow custom search engines
  update: refactor and fix logic in check_for_upgrade.sh (#8939)
  smt: fix time since last commit logic
  Updating the README.md
  peepcode: add virtualenv prompt and fix git calls
  chucknorris: normalize apostrophes (#9013)
  chucknorris: fix typos (#9012)
  Updating some gem command reference
  chucknorris: remove duplicate quotes
  Silence non-existent/empty dir errors in fastfile_{sync,ls}
  lib: don't override bigger HISTSIZE and SAVEHIST values (#8993)
  wd: update to latest version (#8530)
  web-search: add Wayback Archive (#8784)
  init: reapply hack for invalid ZSH_COMPDUMP filenames (b8761985)
  fino-time: fix virtualenv prompt by escaping dollar sign (#8991)
  init: oops
  init: use grep for zcompdump metadata check
  Add deprecation notice for fedora and go plugins.
  Remove git-remote-branch and nyan plugins (deprecated)
  Fix load of various plugins: fastfile, keychain, sfffe, stack
  virtualenvwrapper: fix load and detection logic
  jenv: fix Homebrew install path bug introduced in #7541
  brew: remove completion deprecation notice and fix README
  kube-ps1: update to latest version (ede8098)
  Add `shell-proxy` plugin (#8692)
  Add plugin for bazel completion (#6434)
  Add plugin for LXD autocomplete (#7457)
  terraform: add fmt -recursive flag autocompletion (#8880)
  python: add line-number to pygrep (#8867)
  rbenv: fix redirect in current_gemset
  asdf: fix completions if ASDF_DIR is already exported (#8538)
  git: add alias for git diff excluding lock files (#8935)
  docker: update to latest upstream completion (92dc906) (#8835)
  archlinux: fix pacweb with non-English locales (#8916)
  vagrant: fix vagrant box autocomplete (#8929)
  avit: fix $reset_color sequence in prompt
  Use oh-my-zsh path variables in zshrc.zsh-template (#8960)
  common-aliases: fix hardcoded .zshrc path (#5926)
  git: clarify what the glp alias does (#8850)
  fino-time: fix git and ruby prompt sequences
  direnv: check if direnv is installed (#8809)
  forklift: add support for Forklift distributed via the Setapp (#8803)
  git: add convenience aliases for `git apply` and `git am` (#8563)
  git: exclude devel branch from list in gbda alias (#8957)
  af-magic: account for active conda envs in dash line
  man: look for man page for subcommands (#8798)
  core: remove inc_append_history option (#8048)
  git: exclude 'development' in gdba alias (#8902)
  jira: add tempo command (#8928)
  pipenv: fix error when Pipfile is not a file (#8931)
  Revert "core: enable hist_reduce_blanks"
  Prefix cd calls with `builtin` (#8937)
  frontend-search: add packagephobia (#8908)
  update: fix bug in upgrade.sh: s/NORMAL/RESET/ (#8947)
  bundler: add alias for bundle add
  bundler: add alias for bundle check (#5000)
  update: display logo in rainbow colors (#8941)
  core: enable hist_reduce_blanks
  Add plugin for rustup completion (#8914)
  zsh-navigation-tools: update to 5937e57e
  composer: fix documented aliases
  composer: add aliases for 'outdated' commands
  composer: use cache to fix slowness during startup
  core: fix zstyle definition of use-cache
  pygmalion: revert multiline prompt change
  magic-enter: define bindkey for vi mode as well
  init: silence zcompdump metadata write for invalid ZSH_COMPDUMP filenames
  gitfast: proper synchronization (#8550)
  core: fix cmp invocation in BSD systems
  core: refresh zcompdump cache file in init script (#8878)
  core: move core folder to lib, for now
  core: add basic Oh My Zsh CLI (#8876)
  sdk: support completion of new commands in 5.8.0 (#8870)
  meta: add Ross Goldberg as owner of the sdk plugin
  sdk: improve sdkman completion (#8854)
  aws: fix aws_change_access_key function with awscli v2 (#8816)
  jsontools: correct usage for is_json (#8857)
  autojump: clarify need to install it first
  meta: basic CODEOWNERS file (gitfast plugin)
  composer: fix cdo alias due to command api change (#8828)
  tig: add more info in README (#8818)
  battery: revert battery charging symbol 1-character-width hack
  lib: speed up slow parts of the lib files; other small fixes
  themes: fix minor syntax error
  gnu-utils: append make to cmds (#8794)
  colorized-man-pages: add hooks for dman and debman commands (#8776)
  battery: remove printf usage where possible
  battery: fix Full battery bug on Linux; force 1-char-width on charging symbol
  nebirhos: use short hostname in prompt
  keychain: define SHORT_HOST if not defined
  systemd: remove newline from systemd prompt (#8772)
  git: fix markdown in README (#8769)
  history-substring-search: fixing my dumb mistake
  history-substring-search: update to upstream version 2019-05-12
  themes: change lstheme function to themes in $ZSH_CUSTOM in any level
  dotenv: add agree-once improvement to confirmation prompt (#8729)
  virtualenvwrapper: look in $HOME/.local/bin directory (#8758)
  direnv: change direnv to not assume path (#8757)
  Add direnv plugin (#8666)
  update path for snapd /snap/bin/* which is used by Linux systems (#8752)
  man: use only first element of command before prepending man (#8747)
  taskwarrior: update completion to latest version (dcdf712)
  autoenv: look in additional installation locations, redo logic
  Clean up plugin READMEs and a few plugins
  z: add markdown Readme (#8715)
  updater: use hardcoded color sequences instead of tput
  updater: use `git config` instead of `git -c` for git < v1.7.2
  archlinux: fix wrong parameters in pacfiles alias (#8712)
  sdk: remove invalid value "candidates" from sdk flush completion (#8725)
  gradle: use upstream completion and fix some other stuff
  aws: fix awscli completion path on NixOS (#8707)
  nvm: add `install-latest-npm` to completion (#8709)
  phing: fix copy-paste error in README
  lib: support konsole* $TERM in title function (#8035)
  aws: add support for AWS CLI v2 autocompletion (#8670)
  shrink-path: added glob and quote options (#7694)
  arcanist: add functions which allow copy-pasting of URLS (#8688)
  rbenv: fix rbenv_prompt_info prefix and suffix (#3764)
  knife: fix refactor mistake
  knife: improve knife-solo support in completion (#3315)
  kube-ps1: update to latest upstream version (c685ac8)
  lib: clean up termsupport.zsh
  Use $jobstates and $jobtexts to look for jobs
  git: make the gpristine alias remove untracked git repos (#8697)
  lib: use `command` to run rm in upgrade function (#8696)
  random: remove random theme from possible themes to choose from
  Some tweaks to the Jira plugin
  Clean up jira function
  Better support for branch name
  Uppercase the issue in open issue command in the JIRA plugin
  sdk: add support for local versions and optimize sed calls (#7870)
  python: add pyuserpaths function (#7758)
  command-not-found: speed up call to Homebrew command-not-found (#7740)
  shrink-path: add minimum length and ellipsis symbol options (#7382)
  minikube: cache command completions (#7446)
  pip: add local Python package files to completion (#7442)
  lib: use grep-alias cache only if ZSH_CACHE_DIR is writable
  Document ZSH_THEME_RANDOM_BLACKLIST setting
  Refactor grep.zsh file
  Fast algorithm to determine grep alias flags
  Performance enhancement for lib/grep
  Ignore .tox folder in grep
  Also set options for egrep and fgrep
  Exclude .idea folder from grep search scope
  Add git version requirement in documentation
  updater: fix --autostash argument. Works for git > 1.7.1
  zsh_reload: respect `$ZDOTDIR` when searching for `.zshrc` (#7706)
  gitignore: add newline to `gi` output (#7586)
  mercurial: add hga alias to README (#7547)
  mix: add format option to completion (#7256)
  gradle: fix command option name in completion (#6586)
  pass: update completion to upstream version (675a002e) (#6475)
  fasd: cache full fasd initialisation script (#6097)
  stack: use builtin completion command (#6230)
  lib: urlencode hostname in update_terminalapp_cwd (#6245)
  composer: keep composer autocompletion when using global (#5933)
  kitchen: change sed regex in completion to capture all commands (#5820)
  lib: add support for clippaste in WSL using powershell
  geeknote: update completion (#4986)
  fancy-ctrl-z: ensure widgets are called with full context (#4838)
  lib: add termux commands to clipboard.zsh (#6243)
  lib: add support for clip.exe clipboard copy in WSL
  Fix an issue with escape characters (#7979)
  ng: refactor README
  macports: add rdeps and rdependents completion (#4717)
  jhbuild: add some missing commands and update README (#5195)
  jhbuild: add shell alias (#3707)
  norm: add hg prompt (#6725)
  nmap: add alias for ICMP scan (#4807)
  python: add alias to run the proper IPython based on virtualenv
  updater: add --autostash to git pull (#7172)
  vagrant: document aliases
  zsh-interactive-cd: add vi-mode support (#8681)
  installer: add option to install without replacing .zshrc (#8209)
  npm: hardcode completion function and delete cached one (#8679)
  battery: remove redundant grep calls in battery_pct function
  avit: fix prompt sequence (fixes #8678)
  Add JFrog CLI plugin (#8250)
  battery: fix floating point output in macOS
  installer: remove redundant cp command (#8668)
  lib: delete upgrade lock in upgrade_oh_my_zsh
  vscode: add documentation for running in macOS (#8674)
  Add blacklist variable for random theme
  Polish themes plugin and error out if theme not found
  Add themes in $ZSH_CUSTOM to the pool of candidates
  Move random theme functionality into "random" theme
  avit: add years since last commit if appropriate
  avit: clean up theme code
  avit: replace custom prompt functions with OMZ ones
  agnoster: fix bzr prompt with breezy installed (#8646)
  systemd: add prompt function to show systemd units' status (#7657)
  af-magic: fix virtualenv prompt suffix
  git: add `grename` to rename a local branch and in the origin remote (#8622)
  af-magic: fix dashed separator sizing and refactor
  web-search: add wolframalpha search engine (#8638)
  arcanist: document aliases
  arcanist: add `arc diff --create` alias (#8610)
  dotnet: use official dotnet completion (#8518)
  git: add alias for git stash --include-untracked (#8617)
  cloudapp: fix copy-paste mistake in README (#8629)
  fzf: support for NixOS and Void Linux (#8618)
  kubectl: avoid conflict with existing f aliases in kca alias (#8625)
  dotenv: fix prompt newline
  dotenv: add ZSH_DOTENV_PROMPT config (#8624)
  gradle: run gradle command instead of alias (#8620)
  Add zsh-interactive-cd plugin
  dotenv: prompt before executing dotenv file (#8606)
  Remove invalid batteries (#8275)
  Report only active battery (#4726)
  Various syntax fixes and function naming equivalence
  Clean up Linux battery commands and syntax
  Fix calculation for battery percentage (#4774)
  lib: load bash completion functions automatically
  jump: fix for `marks' and CTRL+G key binding
  jump: add support for directories starting with a dot (#4661)
  jump: fix issues in plugin and document CTRL+G key binding
  vagrant: obey VAGRANT_CWD when completing vagrant commands (#7219)
  Detect dependency plugins in candy-kingdom and kiwi themes
  Add dotnet watch and dotnet watch run (#8612)
  common-aliases: fix loading of is-at-least function (#6215)
  systemadmin: fix header line sorting in pscpu (#6167)
  lib: add git function to determine repository name (#4989)
  kube-ps1: add example for common pitfall (#8318)
  systemd: refactor and add latest commands (#6250)
  Update issues and PR templates (#8471)
  virtualenvwrapper: rewrite init script location code (#8521)
  Revert "fix: Update tmux plugin to use modern terminfo. (#8582)"
  af-magic: fix showing aws prompt out of the box (#8243)
  Link to Actions page in GitHub Action badge
  Rename GitHub Action to CI
  fix: Update tmux plugin to use modern terminfo. (#8582)
  aws: fix array assignment in asp function
  lol: fix docs for yolo alias (#8576)
  vscode: use insiders build if stable not found (#8568)
  Create Github Action to run tests (#8569)
  virtualenvwrapper: fix finding script on Ubuntu 19.10 (#8451)
  init: force use of builtin test in is_plugin
  colored-man-pages: force `env` command (#8551)
  yarn: use zsh-completions latest version (493984e)
  lib: add MSYS2 support to clipboard integration (#8542)
  pyenv: only run if pyenv not in $PATH (#8462)
  extract: add lz4 support (#8510)
  Bump license year (#8512)
  -mAdd hitokoto plugin (#8422)
  Laravel artisan commands extension (#8425)
  Add kubectl all-namespaces aliases for k8s objects (#8434)
  Add kubectl log since aliases (#8448)
  Feature/add dotnet plugin (#8503)
  Added MicroK8s plugin for ZSH (#8499)
  extract: add lrz support (#8500)
  Feature/ionic plugin aliases (#8494)
  New alias zwip that launch cucumber with the :wip profile (#4111)
  Plugins: repo - add more aliases. (#3917)
  osx: use return instead of exit in spotify function
  osx: fix exit on quit command in spotify function (#8504)
  Relocating chat/twitter
  codeclimate: add README
  otp: add README and use clipcopy
  Rename some plugin READMEs for consistency
  tmux-cssh: add README
  svn-fast-info: add README, reorg. plugin
  sfffe: add README
  rbfu: add README
  paver: add README
  knife_ssh: small tweaks
  knife_ssh: add README
  knife: add README and reformat completion file
  gnu-utils: add README, simplify plugin
  glassfish: add README
  gas: add README
  fastfile: add README
  colorize: update plugin to support less options (#8392)
  Rewrite gitstatus collection to be more robust (#7322)
  Update link for Pygments
  Change order of automatic virtualenv activation/deactivation (#6687)
  yarn: add alias for yarn lint (#8481)
  fzf: add support for FreeBSD (#8474)
  fasd: fix plugins name in README (#8483)
  extract: add tar.lz support (#8479)
  extract: add zstd support (#8469)
  arcanist: clarify README (#8461)
  keychain: pass host as argument to keychain (#8436)
  sbt: use new sbt command naming convention (#8426)
  fzf: change debian completion file path (#8402)
  Mention FAQ in the README (#8051)
  Fix change to old shell on uninstall (#8430)
  tmux: add ZSH_TMUX_UNICODE to README
  tmux: add support for forced unicode support (#5166)
  lol: fix yolo alias using https URL
  Fix non-POSIX conditional syntax
  Remove current directory from sys.path in python invocations (#8408)
  Actions to take after repository migration is complete (#8394)
  jenv: only add to PATH if not already on it (#8414)
  colorize: update Pygments download link (#8407)
  terraform: update completion (#8396)
  Replace "restart shell" documentation "exec zsh" (#8411)
  Use safer append to hook function arrays (#8406)
  rails: fix rendering issue in README (#8410)
  extract: add RPM archive support (#8347)
  git-auto-fetch: stop plugin from asking for ssh-key passphrase (#8399)
  Add Twitter follow badge to README
  Add Discord badge to README
  Echo to Error-Stream. Double quote to prevent globbing and word splitting.
  Update default color to 'emacs' which both chroma & pygmentize support
  Fix issue recognizing if tools are insalled
  Fix some comments and messages. Remove (probably) debug messages. Improve ZSH_COLORIZE_TOOL recognition.
  osx: modify itunes function to support Apple Music (#8372)
  Update README.md
  Add support for chroma
  tmux: export ZSH_TMUX_CONFIG again to provide to tmux (#8390)
  osx: fix exit on unknown command in spotify function (#8375)
  tmux: fix bad tmux config syntax and logical expression error in 86b39cf (#8374)
  upgrade: remove double whitespace in message (#7517)
  extract: keep *.gz files with pigz and gunzip
  tmux: allow to define a custom configuration path (#7606)
  Upgrade some URLs to HTTPS (#8202)
  Remove line below copyright so that GitHub shows LICENSE details
  emacs: support BSD mktemp in emacsclient.sh (#8351)
  Fix badly resolved rebase conflict
  Clean up ignore submodules logic in parse_git_dirty
  Add an option about git submodules to ignore
  fasd: add README (#8334)
  fabric: fix awk "return not in function" error in completion
  alias-finder: fix wc numeric conditional (#8251)
  python: fix and extend pyclean (#7762)
  powder: add README (#8310)
  Fix order and reword some things
  mvn: add autocompletion for openliberty (#8244)
  Fix target_list creation. Supports fabric 1 and 2
  Add profiles documentation
  swiftpm: update completion for Swift 5.1 (#8248)
  Set default git-config values known to fix repository issues
  rbenv: add README (#8293)
  safe-paste: add README (#8292)
  cargo: update completion to latest version (cdac4a8)
  magic-enter: update README (#8284)
  Clean up README
  Reorganize stuff
  Format docker Readme like the other plugins.
  Add Readme.md for supervisor. Sync completion with original source.
  rails: detect gems.rb in _rake_command (#8223)
  bundler: support new file naming convention (#6594)
  pass: add README (#8282)
  phing: add README (#8278)
  eecms: add README (#8277)
  bundler: make it play nice with functions that call wrapped commands (#8271)
  lib: allow alias expansion in _ sudo alias (#8268)
  fzf: fix regression (#8269)
  bira: move virtualenv information (#8266)
  git-remote-branch: add README (#8259)
  screen: add README (#8256)
  rake: add README (#8254)
  meta: remove automatic bug label on bug reports
  fzf: check for dpkg before checking for fzf in debian
  Update README
  Added README for pod
  Delete alias section
  add readme for the rust plugin
  emotty: add README (#8240)
  fbterm: add README (#8241)
  battery: add support for sysctl in FreeBSD (#8155)
  python: add recurse flag to pygrep (#8217)
  Reword and add extra information
  git-escape-magic: fix typos in README (#8234)
  Change description
  sprunge: add README and refactor (#8239)
  singlechar: add README (#8232)
  terminalapp: delete plugin deprecated since 2015 (#8230)
  yarn: add yarn version alias (#8138)
  yarn: use zsh-completions latest version (87e1313)
  Adds chruby plugib README.md
  yarn: add ytc alias for test with coverage (#7664)
  gradle: support gdub completion (#6135)
  Create README.md for compleat plugin
  cloudapp: add README (#8229)
  Add READMEs for tugboat and colemak plugins (#8207)
  Reword
  virtualenvwrapper: add README (#8226)
  Add README for pow and powify plugins (#8225)
  pyenv: add README (#8224)
  Some syntax changes and more function docs
  Small changes
  mysql-macports: add README (#8210)
  dash: simplify completion logic
  Remove redundant section and document keyword args
  docs: add README.md for Dash plugin
  Create README.md
  Create README.md
  Update README.md
  Create README.md
  terminitor: add README (#8197)
  rebar: add README (#8198)
  n98-magerun: add README (#8200)
  Adding README for rvm
  cakephp3: add README (#8196)
  yii: add README (#8194)
  Add rubocop to bundler readme
  Add rubocop to bundled_commands
  sublime: ignore wslpath errors if C drive is missing
  yarn: add yd as yarn dev alias (#7663)
  jruby: add README (#8190)
  Update README: include Yarn workspace shortcuts
  Update README with up-to-date platform requirements
  lein: add README (#8189)
  Add README for thor and pip plugins (#8185)
  oc: add README (#8188)
  autoenv: add README (#8184)
  Fix table alignment
  react-native: add aliases for newer iPhones to Doc
  react-native: add aliases for newer iPhones
  Add flutter plugin (#8150)
  gcloud: add search path for Arch Linux (#8164)
  Add gcloud plugin (#8144)
  Fix WSL check for WSL 2 and simplify nohup in open_command
  robbyrussell: restore prompt spacing (#8148)
  z: update to latest version (e77e938)
  git: fix gtl alias argument
  kube-ps1: add a note where to put the `PROMPT=...` line (#8142)
  installer: allow chsh to work in termux
  Unquote yes in conditional expressions for style consistency
  gitfast: update completions (#8130)
  ssh-agent: check if `ssh-add -l` was successful
  robbyrussell: remove local variable (#8131)
  Change description for Evan's theme to something neutral (#6304)
  Update syntax on the remaining functions
  Updated git-prompt.sh to quote variables
  meta: remove PR triage GitHub action :cry:
  Fix bad function definitions in Debian plugin
  wd: point to the correct directory even if installed with antibody (#8116)
  git-escape-magic: fix typo (#8113)
  autojump: fix loading when autojump is not in $PATH (#8074)
  ripgrep: update completion to latest version (#8083)
  homestead: repair sed regex (#8103)
  plugins/git: Fix `gbda` trying to delete worktree branches
  ubuntu: fix aglu to list available upgrades (#8082)
  feature: add condition for regular expression
  git: add aliases for git switch and restore (#8089)
  af-magic: add hg prompt and tweak virtualenv info (#8056)
  lib: delete LC_CTYPE locale setting which causes problems
  fabric: support fabric 2…
tekniklr pushed a commit to tekniklr/oh-my-zsh that referenced this pull request Sep 6, 2022
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
tekniklr pushed a commit to tekniklr/oh-my-zsh that referenced this pull request Sep 6, 2022
See ohmyzsh#9049 (comment)

Co-authored-by: Yufan You <ouuansteve@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: plugin Issue or PR related to a plugin Topic: alias Pull Request or issue regarding aliases Type: documentation Documentation issue or Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants