diff options
| author | David Sanson | 2011-09-24 11:37:36 -0400 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-24 14:58:43 -0700 |
| commit | 9883e3c1a3ecc88fe48b90ea00ba6f740a223e43 (patch) | |
| tree | 4d03f035afd75b91da81dc6c475401d4dbd9e5c6 /Library/Formula | |
| parent | 43a504c9a44c8dc9cd254a361e7ae49550824725 (diff) | |
| download | homebrew-9883e3c1a3ecc88fe48b90ea00ba6f740a223e43.tar.bz2 | |
Pos: Remove non-functional cdf command
Closes #7799.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pos.rb | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Library/Formula/pos.rb b/Library/Formula/pos.rb index 76c32e292..95dc0c411 100644 --- a/Library/Formula/pos.rb +++ b/Library/Formula/pos.rb @@ -5,15 +5,19 @@ class Pos < Formula md5 'c667fb4ca38c96494f888ade9fb4e40a' homepage "http://sage.ucsc.edu/~wgscott/xtal/wiki/index.php/Unix_and_OS_X:_The_Absolute_Essentials" - def cdf_script; <<-END -#!/bin/bash -cd "$(posd)" -END - end - def install bin.install %w[bin/fdc bin/posd] - (bin+'cdf').write cdf_script share.install %w[Finder_Toolbar_Applications.dmg.gz iTerm.webloc] end + + def caveats + <<-EOS.undent + cdf (change terminal window to current finder window) + needs to be installed as an alias in your shell init. + For example, add the following to your .bash_profile: + if [ -f `brew --prefix`/bin/posd ]; then + alias cdf='cd "`posd`"' + fi + EOS + end end |
