Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check whether brew command exists before aliasing #2287

Merged
merged 2 commits into from
Feb 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions aliases/available/homebrew.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# shellcheck shell=bash
about-alias 'Some aliases for Homebrew'

alias bup='brew update && brew upgrade'
alias bout='brew outdated'
alias bin='brew install'
alias brm='brew uninstall'
alias bcl='brew cleanup'
alias bls='brew list'
alias bsr='brew search'
alias binf='brew info'
alias bdr='brew doctor'
alias bed='brew edit'
if _command_exists brew; then
alias bed='brew edit'
alias bls='brew list'
alias bsr='brew search'
alias bdr='brew doctor'
alias bin='brew install'
alias bcl='brew cleanup'
alias brm='brew uninstall'
alias bout='brew outdated'
alias binf='brew info'
alias bup='brew update && brew upgrade'
fi
Loading