mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-02-24 11:51:19 +01:00
moved from Completion/X/_x_name
This commit is contained in:
parent
439ed18274
commit
e6ae573d6d
1 changed files with 9 additions and 0 deletions
9
Completion/X/Type/_x_name
Normal file
9
Completion/X/Type/_x_name
Normal file
|
@ -0,0 +1,9 @@
|
|||
#autoload
|
||||
|
||||
local x="$argv[(I)-X]"
|
||||
|
||||
if (( x )); then
|
||||
_message -r "$argv[x + 1]"
|
||||
else
|
||||
_message 'name'
|
||||
fi
|
Loading…
Reference in a new issue