about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorDuncan Overbruck <mail@duncano.de>2020-02-05 14:06:47 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-02-05 14:11:53 +0100
commitdc15a75b635cb472e4ffcb9fd0096488ed14424a (patch)
tree0395b2628df582c6773c323a1002b5d025a14b29 /mcom
parent2636f5127d7f886d8eed7ea0386143b3bddb0424 (diff)
downloadmblaze-dc15a75b635cb472e4ffcb9fd0096488ed14424a.tar.gz
mblaze-dc15a75b635cb472e4ffcb9fd0096488ed14424a.tar.xz
mblaze-dc15a75b635cb472e4ffcb9fd0096488ed14424a.zip
mcom: add preview alias for show command
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom4
1 files changed, 2 insertions, 2 deletions
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