Created
March 27, 2022 07:25
-
-
Save atomicstack/7a3d6c85758119cb5b30f040173eaec4 to your computer and use it in GitHub Desktop.
zsh function to display the install path for a given brew package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function brew-active-path() { | |
brew info "$1" | perl -naE 'm/[*]$/ and say($F[0])' | |
} |
Author
atomicstack
commented
Mar 27, 2022
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment