mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
gitfast: update plugin (#7152)
* Stop loading git plugin * Update completion and git-prompt to v2.10 * Update completion to v2.14
This commit is contained in:
parent
728c8e7174
commit
8c95c2b6cb
4 changed files with 747 additions and 193 deletions
|
|
@ -9,7 +9,7 @@
|
|||
#
|
||||
# If your script is somewhere else, you can configure it on your ~/.zshrc:
|
||||
#
|
||||
# zstyle ':completion:*:*:git:*' script ~/.git-completion.sh
|
||||
# zstyle ':completion:*:*:git:*' script ~/.git-completion.zsh
|
||||
#
|
||||
# The recommended way to install this script is to copy to '~/.zsh/_git', and
|
||||
# then add the following to your ~/.zshrc file:
|
||||
|
|
@ -67,6 +67,15 @@ __gitcomp ()
|
|||
esac
|
||||
}
|
||||
|
||||
__gitcomp_direct ()
|
||||
{
|
||||
emulate -L zsh
|
||||
|
||||
local IFS=$'\n'
|
||||
compset -P '*[=:]'
|
||||
compadd -Q -- ${=1} && _ret=0
|
||||
}
|
||||
|
||||
__gitcomp_nl ()
|
||||
{
|
||||
emulate -L zsh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue