Problematic line: extra=( ${${${args#\([^\)]#\)}#\*}%%[:=\[]*} ) Working line: extra=( ${${${args#\([^\)]#\)}#\*}%%[:\[=]*} ) The problem is the sequence of characters inside the bracket expression of last parameter expansion: [:=\[] Substitute this for: [:\[=] Ordinatio Simplex Sent with [ProtonMail](https://protonmail.com) Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, December 1, 2019 1:42 AM, O. simplex wrote: > Distro: Arch Linux > Version: zsh 5.7.1 (x86_64-pc-linux-gnu) > > Action: Type "gpg " then press > Actual behavior: termial output is: "_gpg:176: \[]*} not found" > Expected behavior: suggestions for gpg command > > Ordinatio Simplex > > Sent with [ProtonMail](https://protonmail.com) Secure Email.