about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-05T14·41+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-02-05T14·41+0000
commit7c2933f3c3812215b6587bdda8c01268c6450d16 (patch)
tree507e231f40e7847340f09f1b5a02bd8282d6cf06 /configs
parent70034d4cb92a7c3c9c0589e15ee47299d41117e6 (diff)
Support hgwhat alias
Support a Mercurial alias for listing the files that have changed on a
particular branch.

This commit is particularly noisy because I reformatted the above aliases to
align with the new width.
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/.config/fish/config.fish29
1 files changed, 15 insertions, 14 deletions
diff --git a/configs/shared/.config/fish/config.fish b/configs/shared/.config/fish/config.fish
index 20de7a7f78cc..84528d60cedb 100644
--- a/configs/shared/.config/fish/config.fish
+++ b/configs/shared/.config/fish/config.fish
@@ -222,20 +222,21 @@ abbr --add gst   'git status && hub pr list'
 # Mercurial counterparts. Some may map 1:1, others may be like putting a square
 # peg into a round hole. I will try and use my best judgement in these cases
 # while erring on the side of unifying the two APIs.
-abbr --add hgst  hg status
-abbr --add hglp  hg xl
-abbr --add hgp   hg uploadchain # this is like `git push`
-abbr --add hga   hg add
-abbr --add hgc   hg commit
-abbr --add hgcan hg amend # like `git commit --amend --no-edit'
-abbr --add hgpr  hg mail -r . -m # this may be similar to `hub pull-request`
-abbr --add hgd   hg diff
-abbr --add hgsh  hg export
-abbr --add hgco  hg update
-abbr --add hgls  hg citc --list # should have different output from `pils`
-abbr --add hgrc  hg rebase --continue
-abbr --add hgra  hg rebase --abort
-abbr --add hgrm  hg citc -d # delete a CitC client created with Fig
+abbr --add hgst   hg status
+abbr --add hglp   hg xl
+abbr --add hgp    hg uploadchain # this is like `git push`
+abbr --add hga    hg add
+abbr --add hgc    hg commit
+abbr --add hgcan  hg amend # like `git commit --amend --no-edit'
+abbr --add hgpr   hg mail -r . -m # this may be similar to `hub pull-request`
+abbr --add hgd    hg diff
+abbr --add hgsh   hg export
+abbr --add hgco   hg update
+abbr --add hgls   hg citc --list # should have different output from `pils`
+abbr --add hgrc   hg rebase --continue
+abbr --add hgra   hg rebase --abort
+abbr --add hgrm   hg citc -d # delete a CitC client created with Fig
+abbr --add hgwhat 'hg status --rev p4base:(hg id -i)'
 abbr --add hgconflicts hg resolve --list 'set:unresolved()' # much like `gconflicts`
 
 # Haskell