diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-03-24 15:34:07 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-03-24 15:34:07 +1300 |
commit | 1d053c5713b0adef23847529692ce63f6cf92d8b (patch) | |
tree | 4dc0e3ae86c5904ad39e240a2fcd1de94f6576dd | |
parent | Replace -c with --cmd in exm(1df) (diff) | |
download | dotfiles-1d053c5713b0adef23847529692ce63f6cf92d8b.tar.gz dotfiles-1d053c5713b0adef23847529692ce63f6cf92d8b.zip |
Add a semicolon to appease old sed(1)
-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. |