diff --git a/.gitignore b/.gitignore index 9a3e221..4b465d2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ http-client.env.json *.http *graphql-schema.json /http-examples +/_neovim diff --git a/scripts/tests.sh b/scripts/tests.sh index 1e989c7..3a799fa 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -8,8 +8,7 @@ prepare() { local download_url=$1 if [[ -n $download_url ]]; then - mkdir -p _neovim - curl -sL "$download_url" _neovim/nvim && chmod +x _neovim/nvim + curl -sL "$download_url" -o _neovim/nvim && chmod +x _neovim/nvim mkdir -p ~/.local/share/nvim/site/pack/vendor/start @@ -26,6 +25,8 @@ prepare() { } run() { + export PATH="${PWD}/_neovim:${PATH}" + local tempfile tempfile=$(mktemp)