aboutsummaryrefslogtreecommitdiffstats
path: root/zsh-completion
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-03-01 13:57:55 -0500
committerDave Reisner <dreisner@archlinux.org>2013-03-01 14:11:36 -0500
commit6903b4975e38e29008e21222a7323d3920b804e8 (patch)
treec4b6c4113006dd371ea2cddd7840559843ae973e /zsh-completion
parentdc8588eea147bbdde8bcc69f46c3f9004954a925 (diff)
downloadmirror-ponymix-6903b4975e38e29008e21222a7323d3920b804e8.tar.gz
mirror-ponymix-6903b4975e38e29008e21222a7323d3920b804e8.tar.bz2
mirror-ponymix-6903b4975e38e29008e21222a7323d3920b804e8.zip
allow matching commands on prefixes
Allow for invocations such as "ponymix get-v" or "ponymix -d SB set-d". Bail when the command is ambiguous and print the possible matches. This necessarily means changing the return type of string_to_command to return the whole pair<> out of the action map to allow for useful errors when we do arg checking (as we don't necessarily have the full command name from the user).
Diffstat (limited to 'zsh-completion')
0 files changed, 0 insertions, 0 deletions