mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-24 20:57:07 +00:00
fix(dfm): base/* files not reverted
This commit is contained in:
@@ -19,6 +19,9 @@ VERSION_NVM="v0.39.5"
|
|||||||
export DOTFILES="$HOME/.dotfiles"
|
export DOTFILES="$HOME/.dotfiles"
|
||||||
# shellcheck source=./../../scripts/shared.sh
|
# shellcheck source=./../../scripts/shared.sh
|
||||||
source "$HOME/.dotfiles/scripts/shared.sh"
|
source "$HOME/.dotfiles/scripts/shared.sh"
|
||||||
|
source "$DOTFILES/config/exports"
|
||||||
|
source "$DOTFILES/config/alias"
|
||||||
|
source "$DOTFILES/config/functions"
|
||||||
|
|
||||||
# Loads configs for better installation experience
|
# Loads configs for better installation experience
|
||||||
x-load-configs
|
x-load-configs
|
||||||
@@ -152,6 +155,8 @@ 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
|
||||||
|
git checkout "$DOTFILES/base/zshrc"
|
||||||
|
git checkout "$DOTFILES/base/bashrc"
|
||||||
$0 install nvm-latest
|
$0 install nvm-latest
|
||||||
msg_yay "nvm installed!"
|
msg_yay "nvm installed!"
|
||||||
;;
|
;;
|
||||||
@@ -161,7 +166,8 @@ function section_install
|
|||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
fi
|
fi
|
||||||
nvm install --lts --latest-npm --default
|
nvm install --lts --latest-npm --default
|
||||||
git checkout "$DOTFILES/base/*"
|
git checkout "$DOTFILES/base/zshrc"
|
||||||
|
git checkout "$DOTFILES/base/bashrc"
|
||||||
msg_yay "latest lts node installed!"
|
msg_yay "latest lts node installed!"
|
||||||
;;
|
;;
|
||||||
npm)
|
npm)
|
||||||
|
|||||||
Reference in New Issue
Block a user