aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-03-24 15:34:07 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-03-24 15:34:07 +1300
commit1d053c5713b0adef23847529692ce63f6cf92d8b (patch)
tree4dc0e3ae86c5904ad39e240a2fcd1de94f6576dd
parentReplace -c with --cmd in exm(1df) (diff)
downloaddotfiles-1d053c5713b0adef23847529692ce63f6cf92d8b.tar.gz
dotfiles-1d053c5713b0adef23847529692ce63f6cf92d8b.zip
Add a semicolon to appease old sed(1)
-rwxr-xr-xbin/exm2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/exm b/bin/exm
index 4b2afbda..3850f118 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 | 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.