commit 147cdb02e6154301e2298c1559501f6ee7ab8a46 Author: Teika Kazura Date: 2019-05-23 Thu 03:28:42 +0900 s/grep -F/command grep -F/g diff --git a/bash-completion-2.1_p20141224-blacklist-support.patch b/bash-completion-2.1_p20141224-blacklist-support.patch index 7ac8570..45ac6b3 100644 --- a/bash-completion-2.1_p20141224-blacklist-support.patch +++ b/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