commit
678f38792a
1 changed files with 4 additions and 4 deletions
|
@ -35,7 +35,7 @@ heading "old nvim config will be deleted so watchout :0"
|
||||||
|
|
||||||
# copying config
|
# copying config
|
||||||
|
|
||||||
rm -rf ~/.config/nvim/ && mkdir ~/.config/nvim
|
rm -rf ~/.config/nvim/ && mkdir -p ~/.config/nvim
|
||||||
cp -r init.lua ~/.config/nvim && cp -r lua ~/.config/nvim
|
cp -r init.lua ~/.config/nvim && cp -r lua ~/.config/nvim
|
||||||
|
|
||||||
#for f in `find -E . -regex ".*\.vim$|.*\.lua$"`; do
|
#for f in `find -E . -regex ".*\.vim$|.*\.lua$"`; do
|
||||||
|
@ -60,15 +60,15 @@ install_node_deps () {
|
||||||
echo "npm not installed"
|
echo "npm not installed"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
sudo npm install -g $@
|
sudo npm install -g $@
|
||||||
}
|
}
|
||||||
|
|
||||||
install_python_deps () {
|
install_python_deps () {
|
||||||
if [[ -z $(which pip) ]]; then
|
if [[ -z $(which pip) && -z $(which pip3) ]]; then
|
||||||
echo "python/pip not installed"
|
echo "python/pip not installed"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
sudo python3 -m pip install $@
|
sudo python3 -m pip install $@
|
||||||
}
|
}
|
||||||
|
|
||||||
install_ts() {
|
install_ts() {
|
||||||
|
|
Loading…
Reference in a new issue