|
@@ -23,7 +23,7 @@ installnode() { \
|
|
|
[ -n "$(uname -a | grep Ubuntu)" ] && installnodeubuntu
|
|
|
[ -f "/etc/arch-release" ] && installnodearch
|
|
|
[ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ] && echo "Windows not currently supported"
|
|
|
- npm i -g neovim
|
|
|
+ sudo npm i -g neovim
|
|
|
}
|
|
|
|
|
|
installpiponmac() { \
|
|
@@ -59,7 +59,7 @@ installcocextensions() { \
|
|
|
cd ~/.config/coc/extensions
|
|
|
[ ! -f package.json ] && echo '{"dependencies":{}}'> package.json
|
|
|
# Change extension names to the extensions you need
|
|
|
- npm install coc-explorer coc-snippets coc-json --global-style --ignore-scripts --no-bin-links --no-package-lock --only=prod
|
|
|
+ sudo npm install coc-explorer coc-snippets coc-json --global-style --ignore-scripts --no-bin-links --no-package-lock --only=prod
|
|
|
}
|
|
|
|
|
|
cloneconfig() { \
|