From fbb4a6ff76e59afd6157d7656c73e5bff87f366e Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Wed, 6 Dec 2023 18:00:06 +0800 Subject: [PATCH] zshrc: not alias rm to trash --- .zshrc2 | 3 --- 1 file changed, 3 deletions(-) diff --git a/.zshrc2 b/.zshrc2 index a1993da..c40d898 100644 --- a/.zshrc2 +++ b/.zshrc2 @@ -112,9 +112,6 @@ alias "cbds"='curl https://www.baidu.com' alias "gdebug"='git add -A; git commit --allow-empty -m "bug fix ($(date))"' alias "ls"='ls --color=tty' alias "l"='ls -lAGh --time-style="+%y-%m-%d %H:%M"' -if [[ -x $(command -v trash) ]]; then - alias "rm"="echo use the full path i.e. '/bin/rm'\; consider using trash" -fi gbes() { git for-each-ref --sort=-committerdate refs/heads refs/remotes --format="%(authordate:format:%y-%m-%d.%a %H:%M %z)|%(color:red)%(objectname:short)|%(color:yellow)%(refname:short)%(color:reset)|%(color:reset)%(authorname): %(color:green)%(subject)" --color=always | column -ts"|" | less -FX } sagt() { eval "$($DOTFILES/tools/sagent.sh $@)" }