Disk : Fix tdu params.
This commit is contained in:
parent
861a14ea89
commit
10c469c9a1
|
@ -1,11 +1,11 @@
|
||||||
# Show only physical drives info.
|
# Show only physical drives info.
|
||||||
function pdf() {
|
function pdf() {
|
||||||
/usr/bin/env df --si | sed -e '1p' -e '/^\/dev\//!d'
|
df --si | sed -e '1p' -e '/^\/dev\//!d'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Show total size in SI.
|
# Show total size in SI.
|
||||||
# Current dir by default.
|
# Current dir by default.
|
||||||
# Usage: tdu [DIRS]
|
# Usage: tdu [DIRS]
|
||||||
function tdu() {
|
function tdu() {
|
||||||
/usr/bin/env du -sh --si
|
du -sh --si "${@}"
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue