1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-08 22:06:16 +01:00
github.com_openSUSE_osc/contrib/complete.sh
Daniel Mach bac875b8f6 Move files from dist/ to contrib/
The content of dist/ is usually generated during build
and is ignored in .gitignore now.
2022-08-12 14:23:00 +02:00

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