Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[[ -o optname ]] is for `set' not `shopt'

  • Loading branch information...
commit 08a5be67a95580cce4cd117b75f3066ee1295dd5 1 parent a316b93
@lolilolicon lolilolicon authored
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 ) )
Please sign in to comment.
Something went wrong with that request. Please try again.