Removed sudo from npm
This commit is contained in:
parent
0121039cb6
commit
614d0bb4d3
2
bashrc
2
bashrc
@ -46,7 +46,7 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo
|
||||
# fi
|
||||
# fi
|
||||
|
||||
PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
|
||||
PATH="$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.npm/bin:$PATH"
|
||||
|
||||
alias lz="lazygit"
|
||||
alias vi="nvim"
|
||||
|
||||
@ -187,6 +187,7 @@ printf -- '\033[33m Installing node\n\033[37m'
|
||||
cd ~
|
||||
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
||||
sudo apt install -y nodejs
|
||||
npm config set prefix "${HOME}/.npm"
|
||||
|
||||
# Install ble.sh
|
||||
printf -- '\033[33m Installing ble.sh\n\033[37m'
|
||||
@ -216,7 +217,7 @@ fi
|
||||
|
||||
# Install neovim for node
|
||||
printf -- '\033[33m Installing neovim for node\n\033[37m'
|
||||
sudo npm install -g neovim
|
||||
npm install -g neovim
|
||||
|
||||
if [ $DESKTOP == "yes" ]; then
|
||||
# Install flatpak
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user