The examples folder contains excellent example files which you may copy and edit as needed. Read the documentation right in the file. If you see an opportunity to improve the file, please submit a pull request.
- example.aliases.yml. Example site alias definitions.
- example.bashrc. Enhance your shell with lots of Drush niceties including bash completion.
- example.drush.yml. A Drush configuration file.
- example.prompt.sh. Displays Git repository and Drush alias status in your prompt.
- git-bisect.example.sh. Spelunking through Drush's git history with bisect.
- helloworld.script. An example Drush script.
- PolicyCommands. A policy file can disallow prohibited commands/options etc.
- SandwichCommands. A fun example command inspired by a famous XKCD comic.
- SiteAliasAlterCommands. An example of dynamically changing site alias definition.
- SyncViaHttpCommands. sql-sync modification that transfers via http instead of rsync.
- XkcdCommands. A fun example command that browses XKCD comics.