.dotfiles/configs/zsh/aliases.sh

42 lines
599 B
Bash
Raw Normal View History

2020-11-07 14:03:30 +01:00
## ALIASIES ##
alias -s {yml,yaml,ts,json,js,vim,rc}=nvim
2021-08-10 21:50:49 +02:00
alias c="code ."
2021-04-26 10:29:18 +02:00
alias ca="c -a"
alias cr="c -r"
2021-04-23 15:23:49 +02:00
2020-11-07 14:03:30 +01:00
alias yoink="curl"
alias pls='sudo -E env "PATH=$PATH"'
2022-01-14 16:14:57 +01:00
alias online="ping 1.1.1.1"
2021-03-18 14:10:40 +01:00
alias vim="nvim"
alias v="nvim"
2020-11-07 14:03:30 +01:00
alias gcm="git commit -m "
2022-03-01 23:25:44 +01:00
alias D="run dev"
alias B="run build"
alias T="run test"
2021-08-23 17:00:03 +02:00
alias P="git push"
2021-11-17 14:04:03 +01:00
alias p="git pull"
2021-03-23 13:38:09 +01:00
2020-11-07 14:03:30 +01:00
alias lt="tree -L 2 --filelimit 150 --dirsfirst"
2021-06-11 14:01:16 +02:00
alias dc="docker-compose"
2022-09-02 16:15:54 +02:00
alias t="tmux"
2022-10-06 21:14:32 +02:00
alias nx="pnpm exec nx"
2023-01-25 16:35:57 +01:00
alias pm="pnpm prisma"
2022-11-19 18:38:42 +01:00
if type lsd &> /dev/null; then
alias ls="lsd"
fi
if type bat &> /dev/null; then
alias cat="bat"
fi