.zshrc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. export ZSH=$HOME/.oh-my-zsh
  2. ZSH_THEME="dpoggi"
  3. plugins=(git)
  4. source $ZSH/oh-my-zsh.sh
  5. DISABLE_AUTO_UPDATE=true
  6. DISABLE_UPDATE_PROMPT=true
  7. ###### LIST ######
  8. alias l='ls -lFh' #size,show type,human readable
  9. alias la='ls -lAFh' #long list,show almost all,show type,human readable
  10. alias lr='ls -tRFh' #sorted by date,recursive,show type,human readable
  11. alias lt='ls -ltFh' #long list,sorted by date,show type,human readable
  12. alias ll='ls -l' #long list
  13. ###### GIT #######
  14. alias ga="git add"
  15. alias gaa="git add -A"
  16. alias gc="git commit -m '"
  17. alias gs="git status"
  18. alias gcm="git checkout master"
  19. alias gcd="git checkout dev"
  20. alias gmd="git merge dev"
  21. alias gmm="git merge main"
  22. alias gpsm="git push stage main"
  23. alias gppm="git push prod main"
  24. alias gpom="git push origin main"
  25. alias gpcm="git push code main"
  26. alias gprm="git push org main"
  27. alias gpor="git push origin master"
  28. alias gpcr="git push code master"
  29. alias gpod="git push origin dev"
  30. alias gpcd="git push code dev"
  31. ##### NPM #####
  32. alias nit="npm init --yes"
  33. alias not="npm outdated"
  34. alias nu="npm update"
  35. alias ni="npm install"
  36. alias nu="npm uninstall"
  37. alias nis="npm install --save"
  38. alias nus="npm uninstall --save"
  39. alias nid="npm install --save-dev"
  40. alias nud="npm uninstall --save-dev"
  41. alias nip="npm install --save-prod"
  42. alias nup="npm uninstall --save-prod"
  43. ##### YARN #####
  44. alias ya='yarn add'
  45. alias yi='yarn install'
  46. alias yit='yarn init'
  47. alias yr='yarn remove'