-
-
Save Amooti73/fc54dbdd2a49b402da17ca6e2c667cf6 to your computer and use it in GitHub Desktop.
Use ranger to save attachments in mutt.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use ranger to save attachment | |
macro attach S "<pipe-message>/path/to/muttsaveattach.sh"<enter> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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