mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 18:06:13 +01:00
9f76dc0777
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>
7 lines
408 B
Bash
7 lines
408 B
Bash
test -z "$BASH_VERSION" && return
|
|
complete -o default _nullcommand >/dev/null 2>&1 || return
|
|
complete -r _nullcommand >/dev/null 2>&1 || return
|
|
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
|