summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/arcanist
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
commita62114c91f2070c8c8453d117f3d81dc113e41ff (patch)
treef266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/arcanist
parentaf120ab348f2e1a5a39dec035ed9dcf84189a64e (diff)
downloaddotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/arcanist')
-rw-r--r--zsh/oh-my-zsh/plugins/arcanist/README.md43
-rw-r--r--zsh/oh-my-zsh/plugins/arcanist/arcanist.plugin.zsh39
2 files changed, 0 insertions, 82 deletions
diff --git a/zsh/oh-my-zsh/plugins/arcanist/README.md b/zsh/oh-my-zsh/plugins/arcanist/README.md
deleted file mode 100644
index 07e7669..0000000
--- a/zsh/oh-my-zsh/plugins/arcanist/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-## arcanist
-
-This plugin adds many useful aliases for [arcanist](https://github.com/phacility/arcanist).
-
-To use it, add `arcanist` to the plugins array of your zshrc file:
-
-```zsh
-plugins=(... arcanist)
-```
-
-## Aliases
-
-| Alias | Command |
-| ------- | ---------------------------------- |
-| ara | `arc amend` |
-| arb | `arc branch` |
-| arbl | `arc bland` |
-| arco | `arc cover` |
-| arci | `arc commit` |
-| ard | `arc diff` |
-| ardc | `arc diff --create` |
-| ardp | `arc diff --preview` |
-| ardnu | `arc diff --nounit` |
-| ardnupc | `arc diff --nounit --plan-changes` |
-| ardpc | `arc diff --plan-changes` |
-| are | `arc export` |
-| arh | `arc help` |
-| arho | `arc hotfix` |
-| arl | `arc land` |
-| arli | `arc lint` |
-| arls | `arc list` |
-| arpa | `arc patch` |
-
-## Functions
-
-The following functions make copy pasting revision ids from the URL bar of your browser
-easier, as they allow for copy pasting the whole URL. For example: `ardu` accepts
-both `https://arcanist-url.com/<REVISION>` as well as `<REVISION>`.
-
-| Function | Command |
-| ------------------------- | --------------------------------- |
-| ardu [URL or revision_id] | `arc diff --update` [revision_id] |
-| arpa [URL or revision_id] | `arc patch` [revision_id] |
diff --git a/zsh/oh-my-zsh/plugins/arcanist/arcanist.plugin.zsh b/zsh/oh-my-zsh/plugins/arcanist/arcanist.plugin.zsh
deleted file mode 100644
index 380eede..0000000
--- a/zsh/oh-my-zsh/plugins/arcanist/arcanist.plugin.zsh
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Aliases
-# (sorted alphabetically)
-#
-
-alias ara='arc amend'
-alias arb='arc branch'
-alias arbl='arc bland'
-alias arco='arc cover'
-alias arci='arc commit'
-
-alias ard='arc diff'
-alias ardc='arc diff --create'
-alias ardnu='arc diff --nounit'
-alias ardnupc='arc diff --nounit --plan-changes'
-alias ardpc='arc diff --plan-changes'
-alias ardp='arc diff --preview' # creates a new diff in the phab interface
-
-alias are='arc export'
-alias arh='arc help'
-alias arho='arc hotfix'
-alias arl='arc land'
-alias arli='arc lint'
-alias arls='arc list'
-
-#
-# Functions
-# (sorted alphabetically)
-#
-
-ardu() {
- # Both `ardu https://arcanist-url.com/<REVISION>`, and `ardu <REVISION>` work.
- arc diff --update "${1:t}"
-}
-
-arpa() {
- # Both `arpa https://arcanist-url.com/<REVISION>`, and `arpa <REVISION>` work.
- arc patch "${1:t}"
-}