Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 526222
Collapse All | Expand All

(-)a/drush.complete.sh (-5 / +1 lines)
Lines 5-13 Link Here
5
# examples/example.bashrc instead, as it will automatically find and source
5
# examples/example.bashrc instead, as it will automatically find and source
6
# this file.
6
# this file.
7
7
8
# Ensure drush is available.
9
which drush > /dev/null || alias drush &> /dev/null || return
10
11
__drush_ps1() {
8
__drush_ps1() {
12
  f="${TMPDIR:-/tmp/}/drush-env/drush-drupal-site-$$"
9
  f="${TMPDIR:-/tmp/}/drush-env/drush-drupal-site-$$"
13
  if [ -f $f ]
10
  if [ -f $f ]
Lines 31-34 _drush_completion() { Link Here
31
}
28
}
32
29
33
# Register our completion function. We include common short aliases for Drush.
30
# Register our completion function. We include common short aliases for Drush.
34
complete -o bashdefault -o default -o nospace -F _drush_completion d dr drush drush5 drush6 drush7 drush.php
31
complete -o bashdefault -o default -o nospace -F _drush_completion drush
35
- 

Return to bug 526222