Alias for du

This commit is contained in:
Thomas Forgione 2023-11-10 09:40:41 +01:00
parent fea82c6f85
commit facfda9a67
1 changed files with 6 additions and 0 deletions

View File

@ -130,6 +130,12 @@ def ll [dir?: string] {
| select mode name target user size modified | select mode name target user size modified
} }
# cool du (don't display everything)
alias _du = du
def du [...args] {
$args | each { _du $in } | select path apparent physical
}
# cool df # cool df
def df [] { def df [] {
^df -h ^df -h