diff options
-rwxr-xr-x | bin/exm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |