diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2024-08-18 14:06:43 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2024-08-18 14:06:43 -0700 |
commit | 88be667390f75022cb54245ec7daed4af9674fdd (patch) | |
tree | bfad7216648700af9f20ec90d10ea96e0ff48171 /home/xyz/.config/neomutt | |
parent | 503e4a2eca2e6e844a812fe5c15c56d2c33cf5fe (diff) |
fix: neomutt new mail recipient tab complete error
When type recipient "abc def" and press tab to complete, abc and def
will be send as two separate argument to abook if use old `abook
--mutt-query '%s'`. Change to `abook --mutt-query %s` or `abook
--mutt-query` both works. See comment, `man neomuttrc` query_command.
Diffstat (limited to 'home/xyz/.config/neomutt')
-rw-r--r-- | home/xyz/.config/neomutt/neomuttrc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/home/xyz/.config/neomutt/neomuttrc b/home/xyz/.config/neomutt/neomuttrc index 2d04d1da..5f4996ac 100644 --- a/home/xyz/.config/neomutt/neomuttrc +++ b/home/xyz/.config/neomutt/neomuttrc @@ -109,7 +109,11 @@ set delete=yes # no prompt for moving emails set confirm_append=no -set query_command="abook --mutt-query '%s'" +# man neomuttrc, query_command: "NeoMutt will add quotes around the string +# substituted for "%s" automatically according to shell quoting rules, so you +# should avoid adding your own. If no "%s" is found in the string, NeoMutt will +# append the user's query to the end of the string." +set query_command="abook --mutt-query" # https://neomutt.org/guide/advancedusage#8-%C2%A0external-address-queries # completion when ask for address input # default ^T |