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

39 lines
816 B

3 years ago
  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. }