Skip to content

Instantly share code, notes, and snippets.

@aldosch
Created April 17, 2024 10:36
Show Gist options
  • Save aldosch/02bd14e1305e365c8cea67baca1de77d to your computer and use it in GitHub Desktop.
Save aldosch/02bd14e1305e365c8cea67baca1de77d to your computer and use it in GitHub Desktop.
brew i
brew() {
if [[ $1 == "i" ]]; then
command brew install "${@:2}"
else
command brew "$@"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment