drush core-init

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

Drush Command

drush core-init



drush init


--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.


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