.zshrc 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 gpom="git push origin main"
  22. alias gpcm="git push code main"
  23. alias gprm="git push org main"
  24. alias gpor="git push origin master"
  25. alias gpcr="git push code master"
  26. alias gpod="git push origin dev"
  27. alias gpcd="git push code dev"
  28. ##### NPM #####
  29. alias nit="npm init --yes"
  30. alias not="npm outdated"
  31. alias nu="npm update"
  32. alias ni="npm install"
  33. alias nu="npm uninstall"
  34. alias nis="npm install --save"
  35. alias nus="npm uninstall --save"
  36. alias nid="npm install --save-dev"
  37. alias nud="npm uninstall --save-dev"
  38. alias nip="npm install --save-prod"
  39. alias nup="npm uninstall --save-prod"
  40. ##### YARN #####
  41. alias ya='yarn add'
  42. alias yi='yarn install'
  43. alias yit='yarn init'
  44. alias yr='yarn remove'