From dc15a75b635cb472e4ffcb9fd0096488ed14424a Mon Sep 17 00:00:00 2001 From: Duncan Overbruck Date: Wed, 5 Feb 2020 14:06:47 +0100 Subject: mcom: add preview alias for show command --- mcom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mcom') diff --git a/mcom b/mcom index 3658dcb..c030b61 100755 --- a/mcom +++ b/mcom @@ -510,7 +510,7 @@ while :; do mshow -t "$draftmime" c= ;; - show) + p|preview|show) if [ -e "$draftmime" ]; then mshow "$draftmime" else @@ -519,7 +519,7 @@ while :; do c= ;; *) - printf 'What now? (%s[s]end, [c]ancel, [d]elete, [e]dit, [m]ime, sign, encrypt) ' "${automime:+mime and }" + printf 'What now? (%s[s]end, [c]ancel, [d]elete, [e]dit, [m]ime, [p]review, sign, encrypt) ' "${automime:+mime and }" read -r c ;; esac -- cgit 1.4.1