Disk : Nix fix.
This commit is contained in:
parent
42a8858294
commit
a3d32583c0
|
@ -1,11 +1,11 @@
|
|||
# Show only physical drives info.
|
||||
function df() {
|
||||
df --si | sed -e '1p' -e '/^\/dev\//!d'
|
||||
/usr/bin/env df --si | sed -e '1p' -e '/^\/dev\//!d'
|
||||
}
|
||||
|
||||
# Show combined size in SI.
|
||||
# Current dir by default.
|
||||
# Usage: du [DIRS]
|
||||
function du() {
|
||||
du -sh --si
|
||||
/usr/bin/env du -sh --si
|
||||
}
|
||||
|
|
Reference in a new issue