@@ -, +, @@ s/grep -F/command grep -F/g --- a/bash-completion-2.1_p20141224-blacklist-support.patch +++ a/bash-completion-2.1_p20141224-blacklist-support.patch @@ -6,13 +6,13 @@ index 8c9fc81..5064733 100644 # set up dynamic completion loading _completion_loader() { -+ if grep -F -x -q -s "${1##*/}" /etc/bash/completion.blacklist; then -+ if ! grep -F -x -q -s "${1##*/}" ~/.config/bash_completion.whitelist; then ++ if command grep -F -x -q -s "${1##*/}" /etc/bash/completion.blacklist; then ++ if ! command grep -F -x -q -s "${1##*/}" ~/.config/bash_completion.whitelist; then + complete -F _minimal "$1" && return 124 + return 1 + fi + fi -+ if grep -F -x -q -s "${1##*/}" ~/.config/bash_completion.blacklist; then ++ if command grep -F -x -q -s "${1##*/}" ~/.config/bash_completion.blacklist; then + complete -F _minimal "$1" && return 124 + return 1 + fi