adfinis / timedctl

GNU Affero General Public License v3.0
5 stars 0 forks source link

bash completion not working #4

Closed altesockensuppe closed 1 year ago

altesockensuppe commented 1 year ago

source: https://click.palletsprojects.com/en/8.1.x/shell-completion/

$ eval "$(_FOO_BAR_COMPLETE=bash_source timedctl)"
bash: Usage:: command not found
bash: Use: command not found
bash: Options:: command not found
bash: --help: command not found
bash: Commands:: command not found
bash: syntax error near unexpected token `ac'
altesockensuppe commented 1 year ago

Im stupid

eval "$(_TIMEDCTL_COMPLETE=bash_source timedctl)"