Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 577618 Details for
Bug 686590
app-shells/bash-completion-2.9: Setting 'alias grep="grep -P"' makes completion fail (patch)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for bashcomp-2.0.2/
bashcomp-grep-fix.patch (text/plain), 1.19 KB, created by
Teika kazura
on 2019-05-23 06:49:07 UTC
(
hide
)
Description:
Fix for bashcomp-2.0.2/
Filename:
MIME Type:
Creator:
Teika kazura
Created:
2019-05-23 06:49:07 UTC
Size:
1.19 KB
patch
obsolete
>commit 147cdb02e6154301e2298c1559501f6ee7ab8a46 >Author: Teika Kazura <teika@gmx.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 686590
: 577618