1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 11:51:50 +08:00

better zsh alias

This commit is contained in:
juan 2021-08-18 14:07:46 +08:00
parent d51563c8f9
commit b8e24c04a2

3
.zshrc
View File

@ -64,7 +64,7 @@ bindkey '' edit-command-line
#TheFuck plugin #TheFuck plugin
fuck_cache="$HOME/.cache/thefuck" fuck_cache="$HOME/.cache/thefuck"
test -f $fuck_cache || thefuck --alias uwu >| "$fuck_cache" test -f $fuck_cache || thefuck --alias pls >| "$fuck_cache"
source "$fuck_cache" source "$fuck_cache"
unset fuck_cache unset fuck_cache
@ -130,6 +130,7 @@ alias btctl='bluetoothctl'
alias cp='cp -iv' alias cp='cp -iv'
alias df='df -h' alias df='df -h'
alias diff='diff --color=auto' alias diff='diff --color=auto'
alias nya='doas'
alias e='emerge' alias e='emerge'
alias free='free -h' alias free='free -h'
alias g='git' alias g='git'