From 8f17023d85e7a202d7fcca2b16b1e1b3db975275 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Wed, 28 May 2025 03:48:03 +0000 Subject: [PATCH] "exit" instead if "return" and fixed path --- install.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index a2b0da6..1d028bb 100755 --- a/install.sh +++ b/install.sh @@ -150,7 +150,7 @@ if set -q _flag_help print HELP # Exit (success) - return 0 + exit 0 end if not type -q nvim @@ -159,7 +159,7 @@ if not type -q nvim echo $NVIM_WIKI_INSTALLATION # Exit (fail) - return 1 + exit 1 end if set -q _flag_update @@ -168,16 +168,15 @@ if set -q _flag_update curl -o- https://fnm.vercel.app/install | bash # Initializing fnm - source /home/mirzaev/.config/fish/conf.d/fnm.fish + source ~/.config/fish/conf.d/fnm.fish # Downloadind and installing Node.js: fnm install $NODEJS_VERSION - # need to rewrite in future (бляяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяя) + # need to rewrite in the future (бляяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяяя) sudo apt install -y npm python3-venv python3-pip rubygems ruby-dev pkg-config - python3 -m ~/.local/bin/pip install --upgrade pip - fish_add_path ~/.local/bin - ~/.local/bin/pip install --upgrade pynvim + python3 -m pip install --upgrade pip + pip install --upgrade pynvim sudo gem install neovim # Install NeoVim module for NPM