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.

43 lines
1.7 KiB

3 years ago
  1. ## arcanist
  2. This plugin adds many useful aliases for [arcanist](https://github.com/phacility/arcanist).
  3. To use it, add `arcanist` to the plugins array of your zshrc file:
  4. ```zsh
  5. plugins=(... arcanist)
  6. ```
  7. ## Aliases
  8. | Alias | Command |
  9. | ------- | ---------------------------------- |
  10. | ara | `arc amend` |
  11. | arb | `arc branch` |
  12. | arbl | `arc bland` |
  13. | arco | `arc cover` |
  14. | arci | `arc commit` |
  15. | ard | `arc diff` |
  16. | ardc | `arc diff --create` |
  17. | ardp | `arc diff --preview` |
  18. | ardnu | `arc diff --nounit` |
  19. | ardnupc | `arc diff --nounit --plan-changes` |
  20. | ardpc | `arc diff --plan-changes` |
  21. | are | `arc export` |
  22. | arh | `arc help` |
  23. | arho | `arc hotfix` |
  24. | arl | `arc land` |
  25. | arli | `arc lint` |
  26. | arls | `arc list` |
  27. | arpa | `arc patch` |
  28. ## Functions
  29. The following functions make copy pasting revision ids from the URL bar of your browser
  30. easier, as they allow for copy pasting the whole URL. For example: `ardu` accepts
  31. both `https://arcanist-url.com/<REVISION>` as well as `<REVISION>`.
  32. | Function | Command |
  33. | ------------------------- | --------------------------------- |
  34. | ardu [URL or revision_id] | `arc diff --update` [revision_id] |
  35. | arpa [URL or revision_id] | `arc patch` [revision_id] |