Skip to content

Commit

Permalink
Mention drush init and fix capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Nov 6, 2015
1 parent a9ab0cd commit 66861d6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions examples/example.bashrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- mode: shell-script; mode: flyspell-prog; ispell-local-dictionary: "american" -*-
#
# Example bash aliases to improve your drush experience with bash.
# Copy this file to your home directory, rename and customize it to
# suit, and source it from your ~/.bash_profile file.
# Example bash aliases to improve your Drush experience with bash.
# Use `drush init` to copy this file to your home directory, rename and
# customize it to suit, and source it from your ~/.bash_profile file.
#
# Example - rename this to .drush_bashrc, and in your
# ~/.bash_profile add:
Expand All @@ -15,9 +15,9 @@
# Features:
#
# Finds and sources drush.complete.sh from your drush directory,
# enabling autocompletion for drush commands.
# enabling autocompletion for Drush commands.
#
# Creates aliases to common drush commands that work in a global context:
# Creates aliases to common Drush commands that work in a global context:
#
# dr - drush
# ddd - drush drupal-directory
Expand All @@ -28,7 +28,7 @@
# st - drush core-status
# use - drush site-set
#
# Aliases for drush commands that work on the current drupal site:
# Aliases for Drush commands that work on the current drupal site:
#
# cc - drush cache-clear
# cr - drush cache-rebuild
Expand All @@ -44,7 +44,7 @@
# updb - drush updatedb
# q - drush sql-query
#
# Provides several common shell commands to work better with drush:
# Provides several common shell commands to work better with Drush:
#
# ddd @dev - print the path to the root directory of @dev
# cdd @dev - change the current working directory to @dev
Expand Down Expand Up @@ -72,10 +72,10 @@
# git - gitd
#
# These standard commands behave exactly the same as they always
# do, unless a drush site specification such as @dev or @live:%files
# do, unless a Drush site specification such as @dev or @live:%files
# is used in one of the arguments.

# Aliases for common drush commands that work in a global context.
# Aliases for common Drush commands that work in a global context.
alias dr='drush'
alias ddd='drush drupal-directory'
alias dl='drush pm-download'
Expand All @@ -85,7 +85,7 @@ alias lsa='drush site-alias --local-only'
alias st='drush core-status'
alias use='drush site-set'

# Aliases for drush commands that work on the current drupal site
# Aliases for Drush commands that work on the current drupal site
alias cc='drush cache-clear'
alias cr='drush cache-rebuild'
alias cca='drush cache-clear all'
Expand All @@ -110,7 +110,7 @@ alias q='drush sql-query'
# alias ssh='dssh'
# alias git='gitd'

# Find the drush executable and test it.
# Find the Drush executable and test it.
d=$(which drush)
# If no program is found try an alias.
if [ -z "$d" ]; then
Expand All @@ -131,7 +131,7 @@ if [ -h "$d" ] ; then
fi
fi

# Get the directory that drush is stored in.
# Get the directory that Drush is stored in.
d="$(dirname "$d")"
# If we have found drush.complete.sh, then source it.
if [ -f "$d/drush.complete.sh" ] ; then
Expand Down

0 comments on commit 66861d6

Please sign in to comment.