summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
870af14)
by Erik Christiansen <dvalin@internode.on.net>
# mutt behaves different if STDIN is no terminal
# TODO: Find cleaner solution (e.g. mutt command-line argument?)
exec 0<&-
# mutt behaves different if STDIN is no terminal
# TODO: Find cleaner solution (e.g. mutt command-line argument?)
exec 0<&-
- term="/dev/$(ps -p$$ | awk 'END { print $2 }')"
+ term="/dev/$(ps -p$$ -otty=)"
exec < $term
# start mutt, open original folder and jump to the original message
exec < $term
# start mutt, open original folder and jump to the original message