mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 15:57:00 +08:00
zshrc: not alias rm to trash
This commit is contained in:
parent
3223ca53fa
commit
fbb4a6ff76
3
.zshrc2
3
.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 "gdebug"='git add -A; git commit --allow-empty -m "bug fix ($(date))"'
|
||||||
alias "ls"='ls --color=tty'
|
alias "ls"='ls --color=tty'
|
||||||
alias "l"='ls -lAGh --time-style="+%y-%m-%d %H:%M"'
|
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 }
|
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 $@)" }
|
sagt() { eval "$($DOTFILES/tools/sagent.sh $@)" }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user