about summary refs log tree commit diff
path: root/Completion/X/_x_name
blob: 38d4c26d365ed71eca0c1eecbf937bac1623af55 (plain) (blame)
1
2
3
4
5
6
7
8
9
#autoload

local x="$argv[(I)-X]"

if (( x )); then
  _message -r "$argv[x + 1]"
else
  _message 'name'
fi