Don't invoke exit in the bash completion script.
This commit is contained in:
parent
545c7b4b0d
commit
79c44c5e0e
|
@ -15,7 +15,7 @@ _ybconAutoComplete() {
|
||||||
else
|
else
|
||||||
case "${previous}" in
|
case "${previous}" in
|
||||||
-h | --help | --version )
|
-h | --help | --version )
|
||||||
exit 0 ;;
|
return 0 ;;
|
||||||
esac
|
esac
|
||||||
complete -f -o plusdirs -X '!*.ybcon' ybcon
|
complete -f -o plusdirs -X '!*.ybcon' ybcon
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue