mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 04:58:57 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ end
|
||||||
|
|
||||||
# hg diff
|
# hg diff
|
||||||
for cmd in d di dif 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 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 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"
|
complete -c hg -n "__fish_hg_using_command $cmd" -s a -l text -d "treat all files as text"
|
||||||
|
|
Loading…
Reference in a new issue