Skip to content

Commit

Permalink
Fix nvim install from tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
Jendker committed Sep 25, 2024
1 parent e655ff4 commit 7becd0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/debian/install_min.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ function install_nvim_tarball() {
sudo rm -rf "${nvim_target}"
return 1
fi
if ! grep -Fxq 'export PATH="$PATH:/opt/nvim-linux64/bin"' $HOME/.zshrc; then
echo 'export PATH="$PATH:/opt/nvim-linux64/bin"' >>$HOME/.zshrc
if ! grep -Fxq "export PATH=\"\$PATH:${nvim_target}/bin\"" "$HOME/.zshrc"; then
echo "export PATH=\"\$PATH:${nvim_target}/bin\"" >>$HOME/.zshrc
fi
export PATH="$PATH:/opt/nvim-linux64/bin"
export PATH="$PATH:${nvim_target}/bin"
}

function install_node() {
Expand Down

0 comments on commit 7becd0c

Please sign in to comment.