diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-01 20:10:47 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-01 20:10:47 +0000 |
| commit | 438d6eaff0b4280492c8a0a161a33daec5de3707 (patch) | |
| tree | 5dd2bb0988475cdf2ea535266a992a93aba738c7 /completions | |
| parent | term_init(): initialize slave TERM from term_init() argument (diff) | |
client/server: add -t,--term to footclient
Diffstat (limited to 'completions')
| -rw-r--r-- | completions/zsh/_footclient | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/completions/zsh/_footclient b/completions/zsh/_footclient index 6ab98fd0..47a050cb 100644 --- a/completions/zsh/_footclient +++ b/completions/zsh/_footclient @@ -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 |
