Skip to content

Commit

Permalink
aliases: specify --formula to brew deps in brdep, brdepb, brdeprb
Browse files Browse the repository at this point in the history
  • Loading branch information
yous committed Feb 6, 2025
1 parent a3530d4 commit 8af36c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aliases
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,21 @@ brdep() {
while IFS= read -r leaf; do
leaves+=("$leaf")
done < <(brew leaves)
brew deps --installed --for-each "${leaves[@]}"
brew deps --installed --for-each --formula "${leaves[@]}"
}
brdepb() {
leaves=()
while IFS= read -r leaf; do
leaves+=("$leaf")
done < <(brew leaves)
brew deps --installed --for-each --include-build "${leaves[@]}"
brew deps --installed --for-each --formula --include-build "${leaves[@]}"
}
brdeprb() {
leaves=()
while IFS= read -r leaf; do
leaves+=("$leaf")
done < <(brew leaves -r)
brew deps --installed --for-each --include-build "${leaves[@]}"
brew deps --installed --for-each --formula --include-build "${leaves[@]}"
}
alias brup='brew upgrade && brew cleanup'

Expand Down

0 comments on commit 8af36c8

Please sign in to comment.