Skip to content

Commit

Permalink
feat: add dust for du
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Larson <[email protected]>
  • Loading branch information
LucasLarson committed May 14, 2024
1 parent 58f1ee2 commit bf4176a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ brew 'docker'
brew 'dos2unix'
# Generate documentation for several programming languages
brew 'doxygen'
# More intuitive version of du in rust
brew 'dust', args: ['HEAD']
# Friendly and expressive shell
brew 'elvish'
# AST-based pattern checker for JavaScript
Expand Down
4 changes: 2 additions & 2 deletions custom/aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,8 @@ domain_name_from_url() {
}

du() {
command du -h -s |
command awk -- '{print $1}'
command dust "${@:--Fsx}" 2>/dev/null ||
command -p -- du -h -s -- "${1:-.}"
}

epoch_seconds() {
Expand Down

0 comments on commit bf4176a

Please sign in to comment.