example.bashrc 983 B

1234567891011121314151617181920
  1. # Examples of valid statements for a drush bashrc file. Use this file to cut down on
  2. # typing of options and avoid mistakes.
  3. #
  4. # Rename this file to .bashrc and optionally copy it to one of
  5. # four convenient places:
  6. #
  7. # 1. User's $HOME folder (i.e. ~/.bashrc).
  8. # 2. User's .drush folder (i.e. ~/.drush/.bashrc).
  9. # 3. System wide configuration folder (e.g. /etc/drush/.bashrc).
  10. # 4. System wide command folder (e.g. /usr/share/drush/command/.bashrc).
  11. # 5. Drush installation folder
  12. #
  13. # Drush will search for .bashrc files whenever the drush interactive
  14. # shell, i.e. `drush core-cli` is entered. If a configuration file
  15. # is found in any of the above locations, it will be sourced by bash
  16. # and merged with other configuration files encountered.
  17. alias siwef='site-install wef --account-name=super --account-mail=me@wef'
  18. alias dump='sql-dump --structure-tables-key=wef --ordered-dump'
  19. alias cli-update='(drush core-cli --pipe > $HOME/.bash_aliases) && source $HOME/.bash_aliases'