diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-09-10 16:17:14 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2015-09-10 16:17:14 +0200 |
commit | 31d1e04301f9266aa040a78030992fdaa5995e6e (patch) | |
tree | 68940797c5f3b39c72e12a6d38d39094024a7483 /share/completions/git.fish | |
parent | a828f90d38f615b60dc686598c1780904062b9ed (diff) |
git completion: Don't check $cmd[1]
Before we do anything else, remove this senseless piece of code
Diffstat (limited to 'share/completions/git.fish')
-rw-r--r-- | share/completions/git.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish index f9e7ba2b..ba70dd9f 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -47,7 +47,7 @@ end function __fish_git_needs_command set cmd (commandline -opc) - if [ (count $cmd) -eq 1 -a $cmd[1] = 'git' ] + if [ (count $cmd) -eq 1 ] return 0 end return 1 |