Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

bash_completion messing with my shopts, not cool #4

Merged
merged 1 commit into from

2 participants

@lolilolicon

No description provided.

@falconindy falconindy merged commit ab99ac2 into falconindy:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 12, 2011
  1. @lolilolicon
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  bash_completion
View
2  bash_completion
@@ -13,7 +13,7 @@ _burp() {
opts="-u --user -p --password -c --category -k --keep-cookies -C --cookies -v --verbose"
# nullglob avoids problems when no results are found
- [[ -o nullglob ]] || { shopt -s nullglob; ng=1; }
+ shopt -q nullglob || { shopt -s nullglob; ng=1; }
if [[ $cur == -* ]]; then
COMPREPLY=( $(compgen -W "$opts" -- $cur ) )
Something went wrong with that request. Please try again.