the_earnest/dotfiles

bashrc, function r: added call to stat to show sizes of files

Commit 427e38798135 · The Earnest · 2026-11-24 14:03 +0000

Changeset
427e38798135a7646c17a819de771f2c2382b5b9

View source at this commit

bashrc, function r: added call to stat to show sizes of files
about to be removed

Comments

No comments yet.

Log in to comment

Diff

diff --git a/bashrc b/bashrc
--- a/bashrc
+++ b/bashrc
@@ -194,6 +194,7 @@
 }
 
 function r() {
+	stat -c "%s %n" "$@"
 	rm -vi "$@" 
 }