completions/zsh: unbreak with BSD find(1)

find: -printf: unknown primary or operator
This commit is contained in:
Jan Beich 2021-01-21 14:23:20 +00:00 committed by Daniel Eklöf
parent d31cc9b5ef
commit ab040d0d6f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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