2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-11 07:10:40 +00:00
steffen-dotfiles/.zsh/aliases.sh

31 lines
891 B
Bash
Raw Normal View History

2024-07-11 11:53:41 +00:00
#!/usr/bin/env zsh
alias -- -='$EDITOR $(fzf)'
alias ...='cd ../..'
alias ..='cd ..'
2024-07-11 13:32:30 +00:00
alias cd='z'
2024-07-11 11:53:41 +00:00
alias g='git'
alias l='nvim "+Oil"'
alias lg='lazygit'
alias m='neomutt'
alias q='exit'
alias sudo='sudo '
alias v=$EDITOR
alias vd='$EDITOR -d'
alias vim=$EDITOR
2024-07-11 13:32:30 +00:00
# helpers
alias to='tiptop --net en0'
alias up='n lts && topgrade && npm-check -gu && vup && brew cleanup && brew autoremove'
alias vup='nvim --headless "+TSUpdateSync" +qa && nvim --headless "+Lazy! sync" +qa && nvim --headless "+MasonUpdate" +qa'
# work / dev related
alias nb='npm run build'
alias np='npm run lint && npm run production'
alias nre='n engine > /dev/null && rm -f package-lock.json && rm -rf node_modules && npm install'
alias ns='npm start'
2024-07-11 11:53:41 +00:00
alias yb='yarn build'
alias yp='yarn lint && yarn production'
alias yre='n engine > /dev/null && rm -f yarn.lock && rm -rf node_modules && yarn'
alias ys='yarn start'