summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bf01847)
thanks to Christian Ebert <blacktrash@gmx.net> for reporting.
# 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$$ --no-heading | awk '{print $2}')"
+ term="/dev/$(ps -p$$ | awk 'END { print $2 }')"
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