diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-03-24 15:36:13 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-03-24 15:36:13 +1300 |
commit | 29930411138761742bfc289b4eab5c6d49d7672d (patch) | |
tree | 2c36928cd95587b70d40f9943160ae2f169c0ac9 /bin | |
parent | Add a semicolon to appease old sed(1) (diff) | |
download | dotfiles-29930411138761742bfc289b4eab5c6d49d7672d.tar.gz dotfiles-29930411138761742bfc289b4eab5c6d49d7672d.zip |
Move stderr block to within subst
Diffstat (limited to 'bin')
-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 | sed '1{s/ .*//;q;}' 2>/dev/null) 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. |