the_earnest/dotfiles
bashrc: replaced alias r with fa function
Commit 8c17ec831953 · The Earnest · 2026-11-24 13:38 +0000
Comments
No comments yet.
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