You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autocompletion depend on the shell (bash, zsh, fish, ...) and require operation on the user's machine file.
It might be a bit complicated to submit this to the PS project... Maybe not, I'm not used to contribute du Prestashop core.
Inspired by the zsh robo plugin.
I managed to have autocompletion running 😄 (commands only, not arguments/parameters)
with this :
create file fop_compl.sh :
Note : For a daily usage, it should be linked/sourced in the ~/.zshrc (via plugin maybe).
This example runs on my machine where I have multilple php binaries. You may need to replace php72 with php.
However, using https://github.com/stecman/symfony-console-completion may be a better choice because of arguments completion.
But it requires fop_console commands to implement special methods for arguments completion.
(and also a user system modification (for sourcing)).
Check if it is possible to implement autocompletion
Thanks to @SebSept idea : https://github.com/stecman/symfony-console-completion
If not what about a pull request on PS projetct ?
The text was updated successfully, but these errors were encountered: