mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 07:47:09 +08:00
hg completion: suggest files from hg st -amr
for hg diff
Added and removed files are already suggested for hg commit, makes sense to do the same for hg diff.
This commit is contained in:
parent
a9c30b05af
commit
27c06c997c
@ -564,7 +564,7 @@ end
|
||||
|
||||
# hg diff
|
||||
for cmd in d di dif diff
|
||||
complete -c hg -n "__fish_hg_using_command $cmd" -f -a "(__fish_hg_status -m)"
|
||||
complete -c hg -n "__fish_hg_using_command $cmd" -f -a "(__fish_hg_status -amr)"
|
||||
complete -c hg -n "__fish_hg_using_command $cmd" -s r -l rev -x -a "(__fish_hg_labels)" -d "revision"
|
||||
complete -c hg -n "__fish_hg_using_command $cmd" -s c -l change -x -a "(__fish_hg_labels)" -d "change made by revision"
|
||||
complete -c hg -n "__fish_hg_using_command $cmd" -s a -l text -d "treat all files as text"
|
||||
|
Loading…
x
Reference in New Issue
Block a user