Skip to content

Commit b2f3efe

Browse files
authored
Revert "run_vim.sh: use explicit HOME in /tmp (#11)" (#16)
This reverts commit e1bc2a1. 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.
1 parent 296f028 commit b2f3efe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/run_vim.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ done
2121

2222
# Run as the vimtest user. This is not really for security. It is for running
2323
# Vim as a user that's unable to write to your volume.
24-
cd /testplugin || exit
25-
exec su -l vimtest -c "env HOME=/tmp/vimtestbed-home /vim-build/bin/$BIN $ARGS"
24+
exec su -l vimtest -c "cd /testplugin && /vim-build/bin/$BIN $ARGS"

0 commit comments

Comments
 (0)