diff --git a/.config/bash/module/Disk.sh b/.config/bash/module/Disk.sh index d6a2dd9..38054a7 100644 --- a/.config/bash/module/Disk.sh +++ b/.config/bash/module/Disk.sh @@ -1,11 +1,7 @@ # Show only physical drives info. -function df() { - /usr/bin/df --si | sed -e '1p' -e "/^\/dev\//!d" -} +alias df="/usr/bin/df --si | sed -e '1p' -e '/^\/dev\//!d'" # Show combined size in SI. # Current dir by default. # Usage: du [DIRS] -function du() { - /usr/bin/du -sh --si -- "${@}" -} +alias du="/usr/bin/du -sh --si" diff --git a/.doc/Bash.md b/.doc/Bash.md index 77b0c61..99d75b7 100644 --- a/.doc/Bash.md +++ b/.doc/Bash.md @@ -104,13 +104,6 @@ Command|Description `dconf_load`|Load Gnome settings. `dconf_save [FILE]`|Dump Gnome settings into the file. Default name is `gnome.dconf`. Do this before changing settings and after, an then run `diff` to find out what to add to the main `gnome.dconf`. -## Disk. - -Command|Description ----|--- -`df`|Show only physical drives info. -`du [DIRS]`|Show combined size in SI. Current dir by default. - ## Docker. Command|Description