diff --git a/completions/zsh/_foot b/completions/zsh/_foot index 24ddd671..c6f0f93b 100644 --- a/completions/zsh/_foot +++ b/completions/zsh/_foot @@ -31,6 +31,6 @@ case ${state} in ;; terms) - _values 'terminal definitions' $(find /usr/share/terminfo -type f -printf "%f\n") + _values 'terminal definitions' /usr/share/terminfo/**/*(.:t) ;; esac diff --git a/completions/zsh/_footclient b/completions/zsh/_footclient index 26aa2c5c..e355527f 100644 --- a/completions/zsh/_footclient +++ b/completions/zsh/_footclient @@ -20,6 +20,6 @@ _arguments \ case ${state} in terms) - _values 'terminal definitions' $(find /usr/share/terminfo -type f -printf "%f\n") + _values 'terminal definitions' /usr/share/terminfo/**/*(.:t) ;; esac