From bc2fd9033eea2eef00fc4c517ce290fa893fbfb2 Mon Sep 17 00:00:00 2001 From: infidel Date: Wed, 18 May 2022 16:11:33 +0700 Subject: [PATCH] Added local bin handler and assign bin path to .profile --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.sh b/install.sh index 1d09d9b..2feb43d 100755 --- a/install.sh +++ b/install.sh @@ -16,10 +16,20 @@ user_guide () { } vim_extension () { + vim +PlugInstall +qall vim -c "CocInstall coc-vimlsp coc-sh coc-python coc-spell-checker" vim -c "CocCommand cSpell.enableLanguage sh" # Add SH Script for spell checking + + if [ ! -d "$HOME/.local/bin" ] ; then + mkdir -p $HOME/.local/bin/ + fi + + echo 'export PATH="$HOME/.local/bin:$PATH"' >> $HOME/.profile # Temporary add exclusion next time + curl -sL install-node.vercel.app/lts | bash -s -- -P $HOME/.local + + } user_install () {