drush core-initfor drush 8x


Enrich the bash startup file with completion and aliases. Copy .drushrc file to ~/.drush

drush core-init

  • Aliases


    core-init has 1 alias/es:


    drush init

  • Options


    core-init accepts 2 option/s:


    --edit : Open the new config file in an editor.

    --add-path : Always add Drush to the $PATH in the user's .bashrc file, even if it is already in the $PATH. Use --no-add-path to skip updating .bashrc with the Drush $PATH. Default is to update .bashrc only if Drush is not already in the $PATH.

  • Examples


    Enrich Bash and open drush config file in editor.

    drush core-init --edit

    Return to shell prompt as soon as the editor window opens.

    drush core-init --edit --bg

  • Comments


    comments powered by Disqus