Details
- Reviewers
spectral - Group Reviewers
hg-reviewers - Commits
- rHGb4e7e1f09c09: zsh_completion: complete merge tools for -t/--tool
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
contrib/zsh_completion | ||
---|---|---|
292 | I'm slightly concerned this might give a false impression of what's available, listing things that I don't have installed, but I think this might be the best we can do at the moment - there doesn't appear to be a way to convince filemerge.py's _picktool to dump a list of them. | |
292 | Do we need to uniquify this, or is zsh smart enough to do so? |
contrib/zsh_completion | ||
---|---|---|
292 | zsh will uniquify this, yes. This seems to be the best way to do it so far, but maybe there needs to be a debugmergetool command or something. This is, by the way, a port of fish-shell's way to get the list of merge tools. |
I'm slightly concerned this might give a false impression of what's available, listing things that I don't have installed, but I think this might be the best we can do at the moment - there doesn't appear to be a way to convince filemerge.py's _picktool to dump a list of them.