about summary refs log tree commit diff
path: root/Completion/X/_x_resource
blob: a0b8e0f2119a2d1a08b15c739df2ceb003678a3b (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 'resource'
fi