aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bash-completion.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/bash-completion.rb')
-rw-r--r--Library/Formula/bash-completion.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Formula/bash-completion.rb b/Library/Formula/bash-completion.rb
index 478b4fa0b..1cbfcbd82 100644
--- a/Library/Formula/bash-completion.rb
+++ b/Library/Formula/bash-completion.rb
@@ -27,14 +27,14 @@ class BashCompletion < Formula
# File.exists? "#{etc}/bash_completion.d/brew_bash_completion.sh" or File.symlink? "#{etc}/bash_completion.d/brew_bash_completion.sh"
end
- def caveats; <<-EOS
-Add the following lines to your ~/.bash_profile file:
- if [ -f `brew --prefix`/etc/bash_completion ]; then
- . `brew --prefix`/etc/bash_completion
- fi
+ def caveats; <<-EOS.undent
+ Add the following lines to your ~/.bash_profile file:
+ if [ -f `brew --prefix`/etc/bash_completion ]; then
+ . `brew --prefix`/etc/bash_completion
+ fi
-To install Homebrew's own completion script:
- ln "#{HOMEBREW_PREFIX}/Library/Contributions/brew_bash_completion.sh" "#{etc}/bash_completion.d"
+ To install Homebrew's own completion script:
+ ln -s "#{HOMEBREW_PREFIX}/Library/Contributions/brew_bash_completion.sh" "#{etc}/bash_completion.d"
EOS
end
end