zsh: Add flags for du

This changes the output to be human-readable.

Additionally du will now only check 2 levels deep (can be overridden by
explicitly setting `-d <depth>`).
This commit is contained in:
histalek 2021-07-10 17:05:15 +02:00
parent 638712aeb0
commit b86457a641
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

View file

@ -32,6 +32,7 @@ alias rm='rm -i'
## adding flags
alias df='df -h'
alias free='free -m'
alias du='du -h -d 2'
## color and condense ip output
alias ipa='ip -br -c addr show'