~gpanders/dotfiles

ref: 5629911cfe9a2fc4e566bab14373aec451244000 dotfiles/fish/.config/fish/functions/fmail.fish -rw-r--r-- 253 bytes
5629911cGreg Anders Fix bash syntax error in 'note' command 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
function fmail -w mutt -d "Use fzf with khard to find email recipients"
    set -l addrs (khard email -p --remove-first-line | column -ts\t | fzy | awk '{print $1}')
    if test (count $addrs) -eq 0
        return 1
    end
    mutt $argv -- $addrs
end