You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
891 B
Bash

#!/usr/bin/env zsh
alias -- -='$EDITOR $(fzf)'
alias ...='cd ../..'
alias ..='cd ..'
2 months ago
alias cd='z'
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
2 months ago
# 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'
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'