mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-03 10:48:30 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 622c8f991a | |||
| 88894a33a5 |
@@ -144,7 +144,7 @@ if [[ -f "$HOME/.aliases.local" ]]; then
|
|||||||
source "$HOME/.aliases.local"
|
source "$HOME/.aliases.local"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts"
|
alias wget="wget --hsts-file=$XDG_DATA_HOME/wget-hsts"
|
||||||
alias svn="svn --config-dir $XDG_CONFIG_HOME/subversion"
|
alias svn="svn --config-dir $XDG_CONFIG_HOME/subversion"
|
||||||
|
|
||||||
# Alacritty preexec hook to update dynamic title
|
# Alacritty preexec hook to update dynamic title
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ function section_install
|
|||||||
"macos:Setup nice macOS defaults"
|
"macos:Setup nice macOS defaults"
|
||||||
"neofetch:Install neofetch"
|
"neofetch:Install neofetch"
|
||||||
"nvm:Install Node Version Manager (nvm)"
|
"nvm:Install Node Version Manager (nvm)"
|
||||||
|
"nvm-latest:Install latest lts node using nvm"
|
||||||
"npm:Install NPM Packages"
|
"npm:Install NPM Packages"
|
||||||
"ntfy:Install ntfy"
|
"ntfy:Install ntfy"
|
||||||
"ohmybash:Install oh-my-bash"
|
"ohmybash:Install oh-my-bash"
|
||||||
@@ -150,11 +151,19 @@ function section_install
|
|||||||
;;
|
;;
|
||||||
nvm)
|
nvm)
|
||||||
msg "Installing nvm..."
|
msg "Installing nvm..."
|
||||||
curl -o- "https://raw.githubusercontent.com/nvm-sh/nvm/$VERSION_NVM/install.sh" | bash \
|
curl -o- "https://raw.githubusercontent.com/nvm-sh/nvm/$VERSION_NVM/install.sh" | bash
|
||||||
&& nvm install --lts --latest-npm --default
|
$0 install nvm-latest
|
||||||
git checkout "$DOTFILES/base/zshrc"
|
|
||||||
msg_yay "nvm installed!"
|
msg_yay "nvm installed!"
|
||||||
;;
|
;;
|
||||||
|
nvm-latest)
|
||||||
|
msg "Installing latest lts node..."
|
||||||
|
if [ -n "$NVM_DIR" ]; then
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
|
fi
|
||||||
|
nvm install --lts --latest-npm --default
|
||||||
|
git checkout "$DOTFILES/base/*"
|
||||||
|
msg_yay "latest lts node installed!"
|
||||||
|
;;
|
||||||
npm)
|
npm)
|
||||||
msg "NPM Packages install started..."
|
msg "NPM Packages install started..."
|
||||||
bash "$DOTFILES/scripts/install-npm-packages.sh" \
|
bash "$DOTFILES/scripts/install-npm-packages.sh" \
|
||||||
|
|||||||
Reference in New Issue
Block a user