From f8260fce2e423e8ba71d3d0637c3ba359fd8116f Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 18 Feb 2000 10:11:05 +0000 Subject: zsh-workers/9790 --- Completion/X/_x_title | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Completion/X/_x_title') diff --git a/Completion/X/_x_title b/Completion/X/_x_title index c892702b1..fe2ab7b9f 100644 --- a/Completion/X/_x_title +++ b/Completion/X/_x_title @@ -1,7 +1,9 @@ #autoload -if (( $# )); then - _message "$2" +local x="$argv[(I)-X]" + +if (( x )); then + _message -r "$argv[x + 1]" else _message 'title' fi -- cgit 1.4.1