Skip to content

Instantly share code, notes, and snippets.

@Amooti73
Forked from manolomartinez/.muttrc
Last active May 1, 2017 06:22
Show Gist options
  • Save Amooti73/fc54dbdd2a49b402da17ca6e2c667cf6 to your computer and use it in GitHub Desktop.
Save Amooti73/fc54dbdd2a49b402da17ca6e2c667cf6 to your computer and use it in GitHub Desktop.
Use ranger to save attachments in mutt.
# use ranger to save attachment
macro attach S "<pipe-message>/path/to/muttsaveattach.sh"<enter>
#!/bin/sh
urxvt -e ranger --choosefile=/tmp/muttattach
cat > "`cat /tmp/muttattach`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment