about summary refs log tree commit diff
path: root/Completion/Unix/Type/_terminals
blob: 59f8d4d8762da7d00d1e9d2a41f42332be00e916 (plain) (blame)
1
2
3
4
5
6
7
8
#compdef infocmp -value-,TERM,-default-

local desc expl

desc=( $TERMINFO ~/.terminfo $TERMINFO_DIRS /usr/{,share/}{,lib/}terminfo )

_wanted terminals expl 'terminal name' \
    compadd "$@" - $desc/*/*(N:t)