URL: <https://savannah.gnu.org/support/?111224>
Summary: custom completion not used after escaped semicolon Group: The GNU Bourne-Again SHell Submitter: None Submitted: Thu 10 Apr 2025 10:55:35 PM UTC Category: None Priority: 5 - Normal Severity: 2 - Minor Status: None Privacy: Public Assigned to: None Originator Email: da...@mandelberg.org Open/Closed: Open Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Thu 10 Apr 2025 10:55:35 PM UTC By: Anonymous Given this function with completion: $ LC_ALL=C bash --norc bash-5.2$ f() { :; } && complete -A user f Pressing tab at the end of this line completes to root as expected: bash-5.2$ f abc ro But this does not offer any completions, even though the backslash is escaped: bash-5.2$ f \; ro This completes to /dev/null: bash-5.2$ f \; /dev/nu _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?111224> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature