aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/exm.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/exm.sh b/bin/exm.sh
index 378b5baf..c25a611b 100644
--- a/bin/exm.sh
+++ b/bin/exm.sh
@@ -3,7 +3,6 @@ if [ -t 0 ] ; then
# Lie to Vim; tell it it's a dumb terminal, and that its required "cm"
# feature is invoked with a carriage return.
- cmd=$(printf 'set t_cm=\r|')
- set -- -T dumb --cmd "${cmd%|}" "$@"
+ set -- -T dumb --cmd "$(printf 'set t_cm=\r')" "$@"
fi
exec ex "$@"