1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-07 13:48:43 +02:00

Make completion for osc smart

that is more commands, more options, and backgrounding the update
of the project cache.

Signed-off-by: Werner Fink <werner@suse.de>
This commit is contained in:
Werner Fink
2013-04-23 18:51:35 +02:00
committed by Marcus Huewe
parent eea716f11f
commit 08a9505042
3 changed files with 1629 additions and 246 deletions

1
dist/complete.sh vendored
View File

@@ -1,6 +1,7 @@
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