cheat-fork-echo/autocompletion/cheat.zsh

6 lines
115 B
Bash
Raw Normal View History

2013-08-29 17:05:46 +02:00
#compdef cheat
2013-10-03 21:55:52 +02:00
declare -a cheats
cheats=$(cheat -l | cut -d' ' -f1)
_arguments "1:cheats:(${cheats})" && return 0