Use the current commandline token for Mercurial filename completion.

The token variable was being used, but I must have accidentally deleted its
definition while I was working on the original version of the file.
This commit is contained in:
Daniel Matz 2014-02-22 14:16:28 -06:00 committed by ridiculousfish
parent 2bdfac2036
commit daaed863da

View file

@ -215,6 +215,7 @@ function __hg_patch_queues
end
function __hg_status
set -l token (commandline -ct)
__hg status -n $argv "glob:$token**"
end