aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-03-24 15:36:13 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-03-24 15:36:13 +1300
commit29930411138761742bfc289b4eab5c6d49d7672d (patch)
tree2c36928cd95587b70d40f9943160ae2f169c0ac9 /bin
parentAdd a semicolon to appease old sed(1) (diff)
downloaddotfiles-29930411138761742bfc289b4eab5c6d49d7672d.tar.gz
dotfiles-29930411138761742bfc289b4eab5c6d49d7672d.zip
Move stderr block to within subst
Diffstat (limited to 'bin')
-rwxr-xr-xbin/exm2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/exm b/bin/exm
index 3850f118..f18da08b 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.