Hi nexcloud community!
At the beginning of this year I tried to implement the bash autocompletion like it is described in the documentation but I didn’t get it to work.
This is why I opened a Github issue and asked to improve the documentation. Unfortunately, the comments on Github did not help.
In the meantime I have switched to OpenSuse and nginx (Before that I used Ubuntu with apache)
I now figured out, that can use the auto completion when I do the following:
sudo chmod 760 /var/www/nextcloud/occsudo su nginxeval $(/var/www/nextcloud/occ _completion --generate-hook)- /var/www/nextcloud/occ [TAB] is working!
Is it also possible to have this enabled when logged in as a user different than nginx?
I already tried this:
-
ls -l /var/www/nextcloud/occgives back-rw-r----- 1 nginx nginx 283 May 15 16:39 /var/www/nextcloud/occ sudo chmod 670 /var/www/nextcloud/occsudo usermod -a -G nginx myUserName-
eval $(/var/www/nextcloud/occ _completion --generate-hook)
Problem is, that I getIf 'Cannot' is not a typo you can use command-not-found to lookup the package that contains it, like this:cnf Cannotat the bash standard output.
Is this the correct behavior? I am just curious, because @nickvergessen mentioned on Github, that he added his user to the www-data group and he was able to autocomplete everything. How is that possible?
Thanks in advance!
