From 29af301968bbffdd317886414ae83af5e40a4118 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Fri, 26 Jun 2020 00:16:36 +0100 Subject: [PATCH] Added alias to list file/directory sizes in current directory. --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index c40a6f2..1683970 100644 --- a/.bashrc +++ b/.bashrc @@ -39,6 +39,8 @@ n () #.dotfiles repo alias alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' +# show file sizes alias and sort by size +alias sizes='du -hs .[^.]* * | sort -h' # nnn # bookmarks export NNN_BMS='q:~/.config/qtile/;'