mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
client/server: add -t,--term to footclient
This commit is contained in:
parent
0bd2ddd8ad
commit
438d6eaff0
3 changed files with 40 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue