aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/exm2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/exm b/bin/exm
index f18da08b..4631c8fa 100755
--- a/bin/exm
+++ b/bin/exm
@@ -1,7 +1,7 @@
#!/bin/sh
# Prevent Vim's ex(1) implementation from clearing the screen
if [ -t 0 ] ; then
- ver=$(ex --version | sed '1{s/ .*//;q;}' 2>/dev/null)
+ ver=$(ex --version 2>/dev/null | sed '1{s/ .*//;q;}')
case $ver in
# Lie to Vim; tell it it's a dumb terminal, and that its required "cm"
# feature is invoked with a newline character.