[kwlug-disc] Bash Autocompletion (Nov 2022)

Ronald Barnes ron at ronaldbarnes.ca
Tue Nov 15 20:34:51 EST 2022


Bob Jonkman wrote on 2022-11-15 17:30:

> Autocomplete for Nextcloud's occ would be very useful.

Indeed, I think it'd be popular.


> I'm currently using an alias to make occ more like a regular command:
> 
>  > alias occ='sudo -u www-data php -f /var/www/nextcloud/occ'

That's a *great* idea!


I'd been wondering how to get the thing to work, since php comes with no 
completions (just the built-in automatic filename completion).


Thanks, now I have a path forward.


rb





More information about the kwlug-disc mailing list