Vimjas / vim-testbed

Docker image for testing Vim plugins
42 stars 6 forks source link

Revert "run_vim.sh: use explicit HOME in /tmp (#11)" #16

Closed blueyed closed 7 years ago

blueyed commented 7 years ago

This reverts commit e1bc2a1526805bf64572447caa606918e2b624bb.

This could be made working with the following, but then the vimrc from the HOME gets not picked up probably etc, so there needs to be another fix for the Neovim case:

exec su -l vimtest -c "env HOME=/tmp/vimtestbed-home \
  sh -c 'cd /testplugin && /vim-build/bin/$BIN $ARGS'"

Fixes https://github.com/tweekmonster/vim-testbed/pull/11/files#r82528988.