From 6926ff56c325ad14f1c712518c5bdb9e820ad685 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Thu, 16 May 2024 19:15:02 -0600 Subject: [PATCH] New backup 2024-05-16 19:15:02 --- default/home/.sapphrc/default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default/home/.sapphrc/default b/default/home/.sapphrc/default index 8e2e5a3..e5d20ef 100755 --- a/default/home/.sapphrc/default +++ b/default/home/.sapphrc/default @@ -31,7 +31,7 @@ alias o="open " #find large files #alias find_largest_files="du -h -x -s -- * | sort -r -h | head -20" sort_filesizes() { - [ -z ${1} ] && local dir="." || local dir="${1}" + [ -z ${1} ] && local dir="$(pwd)" || local dir="${1}" du -ah --max-depth=1 "$( realpath ${dir} )" | sort --human-numeric-sort } # connect to android via adb as root