aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-11 10:37:37 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-11 10:38:01 +1200
commit042bad50f4b4dbeab3f2131a516ac23a77b599cb (patch)
tree2f6393a8030bad9c512fea9d35f3f7f488738763
parente566272800990e5c6c5953155f57fde6ffa640a2 (diff)
downloaddotfiles-042bad50f4b4dbeab3f2131a516ac23a77b599cb.tar.gz
Apply t_cm hack to Makefile Vim invocation
This prevents it from trying to move output to the bottom of the screen during the make(1) run.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6c9d0fab..9b189f69 100644
--- a/Makefile
+++ b/Makefile
@@ -533,7 +533,8 @@ install-vim-bundle: install-vim-config
find vim/bundle/*/*/* \
-type f -exec sh -c \
'cp -p -- "$$1" $(VIMDIR)/"$${1#vim/bundle/*/}"' _ {} \;
- vim -eT dumb -c 'helptags $(VIMDIR)/doc' -c quit
+ cmd=$$(printf 'set t_cm=\r|') ; \
+ vim -eT dumb --cmd "$${cmd%|}" -c 'helptags $(VIMDIR)/doc' -c quit
install-vim-compiler:
mkdir -p -- $(VIMDIR)/compiler