Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

drush 5.9 adding bash_completion to the formula #20029

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions Library/Formula/drush.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ class Drush < Formula

head 'git://git.drupal.org/project/drush.git', :branch => '8.x-6.x'

option 'without-completions', 'Disable drush bash completion'

def install
libexec.install Dir['*']
bin.install_symlink libexec/'drush'
unless build.include? 'without-completions'
bash_completion.install libexec/'drush.complete.sh' => 'drush'
end
end
end