2016-05-22 08:47:55 +08:00
|
|
|
#
|
|
|
|
# Aliases
|
|
|
|
# (sorted alphabetically)
|
|
|
|
#
|
|
|
|
|
|
|
|
alias ara='arc amend'
|
|
|
|
alias arb='arc branch'
|
2017-06-09 19:14:55 +08:00
|
|
|
alias arbl='arc bland'
|
2016-06-01 18:23:20 +08:00
|
|
|
alias arco='arc cover'
|
2016-05-22 08:47:55 +08:00
|
|
|
alias arci='arc commit'
|
|
|
|
|
|
|
|
alias ard='arc diff'
|
2020-02-18 00:44:48 +08:00
|
|
|
alias ardc='arc diff --create'
|
2016-05-22 08:47:55 +08:00
|
|
|
alias ardnu='arc diff --nounit'
|
|
|
|
alias ardnupc='arc diff --nounit --plan-changes'
|
|
|
|
alias ardpc='arc diff --plan-changes'
|
2020-03-04 17:54:24 +08:00
|
|
|
alias ardp='arc diff --preview' # creates a new diff in the phab interface
|
2016-05-22 08:47:55 +08:00
|
|
|
|
|
|
|
alias are='arc export'
|
|
|
|
alias arh='arc help'
|
2017-06-09 19:14:55 +08:00
|
|
|
alias arho='arc hotfix'
|
2016-05-22 08:47:55 +08:00
|
|
|
alias arl='arc land'
|
|
|
|
alias arli='arc lint'
|
|
|
|
alias arls='arc list'
|
2020-03-04 17:54:24 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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}"
|
|
|
|
}
|