fish-shell/share/functions/__fish_print_abook_emails.fish
Aaron Gyes 36691df6fe Stringify many completions and functions, with --invert stringification.
I believe apm must have been buggy - example output that I found online
showed `tr` was mangling paths with spaces in it. Should be fixed.

Also, use dscl on OS X in __fish_complete_users.fish like
__fish_print_users.fish already does.
2016-04-08 10:49:29 +08:00

5 lines
138 B
Fish

function __fish_print_abook_emails --description 'Print email addresses (abook)'
abook --mutt-query "" | string match -r -v '^\s*$'
end