summaryrefslogtreecommitdiffstats
path: root/mailto-mutt
blob: fd53434223a14ec45e7439529529ca0139d49375 (plain)
1
2
3
4
5
6
#!/bin/bash

# support spaces after "mailto:" even if they are probably wrong
mailto=$(printf "%s" "$1" | sed -r 's#^mailto:\s*#mailto:#')

term-open mutt "$mailto"