mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 05:08:42 +02:00
Do not strip colon from COMP_WORDBREAKS (bnc#915037)
Work around the libreadline colon trouble if COMP_WORDBREAKS includes the colon as regular word break. Side effect is that user now do not see the full project name anymore but only the subprojects. Signed-off-by: Werner Fink <werner@suse.de>
This commit is contained in:
committed by
Bernhard M. Wiedemann
parent
a80b286ac9
commit
9f76dc0777
1
dist/complete.sh
vendored
1
dist/complete.sh
vendored
@@ -1,7 +1,6 @@
|
||||
test -z "$BASH_VERSION" && return
|
||||
complete -o default _nullcommand >/dev/null 2>&1 || return
|
||||
complete -r _nullcommand >/dev/null 2>&1 || return
|
||||
COMP_WORDBREAKS="${COMP_WORDBREAKS//:}"
|
||||
test -s /usr/share/osc/complete && complete -o default -C /usr/share/osc/complete osc
|
||||
test -s /usr/lib64/osc/complete && complete -o default -C /usr/lib64/osc/complete osc
|
||||
test -s /usr/lib/osc/complete && complete -o default -C /usr/lib/osc/complete osc
|
||||
|
Reference in New Issue
Block a user