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
c62442f9
Commit
c62442f9
authored
Jun 21, 2016
by
Marc Cornellà
Committed by
GitHub
Jun 21, 2016
Browse files
Fix gfg function completion definition
Related: #5179
parent
9a61336d
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
c62442f9
...
@@ -88,7 +88,7 @@ alias gdw='git diff --word-diff'
...
@@ -88,7 +88,7 @@ alias gdw='git diff --word-diff'
alias
gf
=
'git fetch'
alias
gf
=
'git fetch'
alias
gfa
=
'git fetch --all --prune'
alias
gfa
=
'git fetch --all --prune'
function
gfg
()
{
git ls-files |
grep
$@
}
function
gfg
()
{
git ls-files |
grep
$@
}
compdef
gfg
=
grep
compdef
_grep gfg
alias
gfo
=
'git fetch origin'
alias
gfo
=
'git fetch origin'
alias
gg
=
'git gui citool'
alias
gg
=
'git gui citool'
...
...
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