Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bmwiedemann:reproducible:distribution:ring1
bash-completion
backtick-completion-boo940835.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File backtick-completion-boo940835.patch of Package bash-completion
--- bash-completion-2.12.0/bash_completion | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) --- bash-completion-2.12.0/bash_completion +++ bash-completion-2.12.0/bash_completion 2024-02-23 07:56:27.581141856 +0000 @@ -1784,16 +1784,21 @@ _comp_compgen_tilde() _comp_compgen_dollar() { local s="" - local -i glob=0 - + local -i glob=0 cmd=0 shopt -q extglob && let glob++ ((glob == 0)) && shopt -s extglob [[ "$COMP_LINE" == cd* ]] && s="/" case "$1" in - \$\(*|\`*) - COMPREPLY=($(compgen -c -P '$(' -S ")$s" -- ${1#??})) ;; + \$\(*) + COMPREPLY=($(compgen -c -P '$(' -S ")$s" -- ${1#??})) + let cmd++ + ;; + \`*) + COMPREPLY=($(compgen -c -P '\`' -S "\`$s" -- ${1#?})) + let cmd++ + ;; \$\{*) COMPREPLY=($(compgen -v -P '${' -S "}$s" -- ${1#??})) ;; \$*) @@ -1805,7 +1810,7 @@ _comp_compgen_dollar() if ((${#COMPREPLY[@]} > 0)) ; then ((${#COMPREPLY[@]} == 1)) && eval COMPREPLY=\(${COMPREPLY[@]}\) - else + elif ((cmd == 0)); then eval COMPREPLY=\(${1}\) fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor