This commit is contained in:
TymanWasTaken 2022-02-07 22:35:38 -07:00
parent 25fae6a64c
commit b9ad8b63e1
No known key found for this signature in database
GPG key ID: 7F17F5E1693307E7
2 changed files with 19 additions and 1 deletions

18
dotfiles/.zsh_aliases Normal file
View file

@ -0,0 +1,18 @@
alias ga="git add -A"
gc() {
git commit -S -m "$@"
}
alias gp="git push"
alias fmt="yarn format"
alias ..="cd .."
alias ....="cd ../.."
alias ......="cd ../../.."
psh() {
fmt && ga && gc $@ && gp
}
alias stop="doas systemctl stop"
alias start="doas systemctl start"
alias ls="exa"
alias la="exa -a"
alias lal="exa -al"
alias tree="exa --tree"

View file

@ -31,7 +31,7 @@ if ls "$HOME/.pyenv" &> /dev/null; then
fi fi
#---------------------------------------------------------------------------------# #---------------------------------------------------------------------------------#
### Aliases ### Aliases
alias ls="exa" # `exa` instead of `ls` source "$HOME/.zsh_aliases"
eval $(thefuck --alias) # `fuck` alias eval $(thefuck --alias) # `fuck` alias
#---------------------------------------------------------------------------------# #---------------------------------------------------------------------------------#
### Setup zinit ### Setup zinit