From eadc372e3c651afa840b78adb3b2f4a6cd9975f8 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Tue, 6 Jul 2021 15:21:27 -0400 Subject: [PATCH] aliases.sh: Add foldersize --- .config/shell/aliases.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/shell/aliases.sh b/.config/shell/aliases.sh index 70e8429..77754d2 100644 --- a/.config/shell/aliases.sh +++ b/.config/shell/aliases.sh @@ -1,6 +1,10 @@ # From https://mastodon.xyz/@CarlCravens/105758509287927276 alias clear='clear; tput cup $LINES 0' +foldersize(){ + du -sh $@ +} + tmm(){ if [ -z $1 ]; then tmux attach-session -t 0 || tmux