Skip to content

Commit

Permalink
bash-completion2: migrate inline :DATA patch
Browse files Browse the repository at this point in the history
  • Loading branch information
UniqMartin committed Jun 10, 2016
1 parent c1d8745 commit 9d38db2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bash-completion2/bug-739835.patch
@@ -0,0 +1,13 @@
diff --git a/bash_completion b/bash_completion
index 6d3ba76..5d9c645 100644
--- a/bash_completion
+++ b/bash_completion
@@ -707,7 +707,7 @@ _init_completion()
fi
done

- [[ $cword -eq 0 ]] && return 1
+ [[ $cword -le 0 ]] && return 1
prev=${words[cword-1]}

[[ ${split-} ]] && _split_longopt && split=true

0 comments on commit 9d38db2

Please sign in to comment.