Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
d69bad8e
Commit
d69bad8e
authored
Jun 08, 2019
by
Felipe Contreras
Committed by
Marc Cornellà
Jun 08, 2019
Browse files
gitfast: downgrade to upstream v2.16 (#7918)
Signed-off-by:
Felipe Contreras
<
felipe.contreras@gmail.com
>
parent
65f34ce8
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
plugins/gitfast/_git
View file @
d69bad8e
...
...
@@ -39,7 +39,7 @@ if [ -z "$script" ]; then
test -f $e && script="$e" && break
done
fi
GIT_SOURCING_ZSH_COMPLET
ION=
y
. "$script"
ZSH_VERS
ION=
''
. "$script"
__gitcomp ()
{
...
...
@@ -93,22 +93,13 @@ __gitcomp_nl_append ()
compadd -Q -S "${4- }" -p "${2-}" -- ${=1} && _ret=0
}
__gitcomp_file_direct ()
{
emulate -L zsh
local IFS=$'\n'
compset -P '*[=:]'
compadd -f -- ${=1} && _ret=0
}
__gitcomp_file ()
{
emulate -L zsh
local IFS=$'\n'
compset -P '*[=:]'
compadd -p "${2-}" -f -- ${=1} && _ret=0
compadd
-Q
-p "${2-}" -f -- ${=1} && _ret=0
}
__git_zsh_bash_func ()
...
...
plugins/gitfast/git-completion.bash
View file @
d69bad8e
This diff is collapsed.
Click to expand it.
plugins/gitfast/update
View file @
d69bad8e
#!/bin/sh
url
=
"https://git.kernel.org/pub/scm/git/git.git/plain/contrib/completion"
version
=
"2.
2
1.0"
version
=
"2.1
6
.0"
curl
-s
-o
_git
"
${
url
}
/git-completion.zsh?h=v
${
version
}
"
&&
curl
-s
-o
git-completion.bash
"
${
url
}
/git-completion.bash?h=v
${
version
}
"
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment