client/server: add -t,--term to footclient

This commit is contained in:
Daniel Eklöf 2019-11-01 21:10:47 +01:00
parent 0bd2ddd8ad
commit 438d6eaff0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 40 additions and 3 deletions

View file

@ -2,5 +2,12 @@
_arguments \
-s \
'(-t,--term)'{-t,--term}'[value to set the environment variable TERM to (foot)]:term:->terms' \
'(-v --version)'{-v,--version}'[show the version number and quit]' \
'(-h --help)'{-h,--help}'[show help message and quit]'
case ${state} in
terms)
_values 'terminal definitions' $(find /usr/share/terminfo -type f -printf "%f\n")
;;
esac