1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-17 02:03:03 +02:00
Files
github.com_openSUSE_osc/contrib/git-obs-complete.zsh
Daniel Mach 1b24e1f654 Fix loading shell completions for 'git-obs'
Don't load the completions when /usr/bin/register-python-argcomplete is not available
2025-06-05 13:43:59 +02:00

5 lines
166 B
Bash

# exit immediately if argcomplete is not available
[ -e '/usr/bin/register-python-argcomplete' ] || exit 0
eval "$(register-python-argcomplete --shell zsh git-obs)"