aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/hg.fish
diff options
context:
space:
mode:
authorGravatar Daniel Matz <daniel.a.matz@nasa.gov>2014-02-22 14:16:28 -0600
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-31 10:08:10 -0700
commitdaaed863dae8cd158e14b5dcb19a0eeed1e00074 (patch)
treee3c0794eee0390140102eae7a09cc3f84e9d01d2 /share/completions/hg.fish
parent2bdfac20369cefacbd480eab4937bb7f01b7a68d (diff)
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.
Diffstat (limited to 'share/completions/hg.fish')
-rw-r--r--share/completions/hg.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/completions/hg.fish b/share/completions/hg.fish
index 95af4536..f55098f1 100644
--- a/share/completions/hg.fish
+++ b/share/completions/hg.fish
@@ -215,6 +215,7 @@ function __hg_patch_queues
end
function __hg_status
+ set -l token (commandline -ct)
__hg status -n $argv "glob:$token**"
end