Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write an init procedure #6

Open
bdunogier opened this issue Nov 23, 2011 · 1 comment
Open

Write an init procedure #6

bdunogier opened this issue Nov 23, 2011 · 1 comment
Milestone

Comments

@bdunogier
Copy link
Owner

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
@bdunogier
Copy link
Owner Author

Not required for milestone 1.0. The setup instructions have been updated and should be sufficient for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant