Skip to content

Write an init procedure #6

@bdunogier

Description

@bdunogier

When the bash completion system has been installed for one ezpublish instance, you still need to symlink ezp.php to every ezpublish root you want to use completion for.

Ideally, once everything has been implemented for one instance, it should be possible to have an automated procedure that easily installs the script for another instance.

Random notes:

Need:

  • ezp.php, somewhere
    • doesn't have to be at the eZ Publish root,
    • as long as it is executed from here
  • sh script => /etc/bash_completion.d/ezp
  • an ezp command, that executes ezp.php with all arguments
    • symlink to a $PATH directory:
      /usr/local/bin/ezp -> /var/www/engineering/ezpublish/ezp.php
    • shell script that executes ezp.php
      probably the best solution
    • shell alias ezp '/path/to/ezp.php'
      need +x mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions