the_earnest/dotfiles

bashrc: replaced alias r with fa function

Commit 8c17ec831953 · The Earnest · 2026-11-24 13:38 +0000

Changeset
8c17ec831953c83c640e6f328472eb24a8551f18

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/bashrc b/bashrc
--- a/bashrc
+++ b/bashrc
@@ -6,7 +6,6 @@
 
 alias c='cp -vi'
 alias m='mv -vi'
-alias r='rm -vi'
 
 alias h=history
 alias l='ls --color=auto -g -G --group-directories-first -r -t'
@@ -194,6 +193,10 @@
 	mv -v -t "seen" "$@"
 }
 
+function r() {
+	rm -vi "$@" 
+}
+
 function safermdir()
 {
 	if [[ $# -ne 1 ]]; then