Skip to content

Commit

Permalink
Symlink to /usr/local/lib
Browse files Browse the repository at this point in the history
  • Loading branch information
tedbauer authored Apr 23, 2024
1 parent 0ed5185 commit 4f3e7a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Formula/up.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ def install
lib.install "up.sh"
end
end

def caveats; <<~EOS
To use the 'up' command, add the following alias to your shell configuration:
alias up='. /usr/local/lib/up.sh'
EOS
end

def post_install
ln_s Dir["#{HOMEBREW_PREFIX}/Cellar/up/0.1.0/*"], "#{HOMEBREW_PREFIX}/lib"
end
end

0 comments on commit 4f3e7a3

Please sign in to comment.