arcanist.plugin.zsh 816 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #
  2. # Aliases
  3. # (sorted alphabetically)
  4. #
  5. alias ara='arc amend'
  6. alias arb='arc branch'
  7. alias arbl='arc bland'
  8. alias arco='arc cover'
  9. alias arci='arc commit'
  10. alias ard='arc diff'
  11. alias ardc='arc diff --create'
  12. alias ardnu='arc diff --nounit'
  13. alias ardnupc='arc diff --nounit --plan-changes'
  14. alias ardpc='arc diff --plan-changes'
  15. alias ardp='arc diff --preview' # creates a new diff in the phab interface
  16. alias are='arc export'
  17. alias arh='arc help'
  18. alias arho='arc hotfix'
  19. alias arl='arc land'
  20. alias arli='arc lint'
  21. alias arls='arc list'
  22. #
  23. # Functions
  24. # (sorted alphabetically)
  25. #
  26. ardu() {
  27. # Both `ardu https://arcanist-url.com/<REVISION>`, and `ardu <REVISION>` work.
  28. arc diff --update "${1:t}"
  29. }
  30. arpa() {
  31. # Both `arpa https://arcanist-url.com/<REVISION>`, and `arpa <REVISION>` work.
  32. arc patch "${1:t}"
  33. }