#!/usr/bin/env bash
fzf_command="/usr/bin/fzf"
# looks for mailbox in ~/Maildir/work and ~/Maildir/personal/
fd_command="find $HOME/Maildir/ -maxdepth 2 -type d"
folder="$($fd_command | $fzf_command)"
echo "push 'c$folder<enter>'"
Last active
April 5, 2021 09:29
-
-
Save tscherf/d46b822c60c60c40a2544233802dcac5 to your computer and use it in GitHub Desktop.
neomutt_and_fzf
macro macro index '<space>' ':source ~/.mutt/fzffolder|<return>'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment