1
0
mirror of https://github.com/cheat/cheat.git synced 2024-12-23 21:19:44 +01:00
cheat/autocompletion/_cheat.zsh

6 lines
115 B
Bash

#compdef cheat
declare -a cheats
cheats=$(cheat -l | cut -d' ' -f1)
_arguments "1:cheats:(${cheats})" && return 0