Compare commits

..

No commits in common. "461e585f8fd2225bc504b9cea6e47d7f6c2110f0" and "d8cde143086dca709af0b68a472a0649d30c0319" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -135,7 +135,7 @@ configure_vim() {
} }
configure_zsh() { configure_zsh() {
[ -d ~/.oh-my-zsh ] && return [ -f ~/.zshrc ] && return
[ $offline -eq 1 ] && return [ $offline -eq 1 ] && return
if confirm_action "要配置 zsh 吗?" "Y"; then if confirm_action "要配置 zsh 吗?" "Y"; then

View File

@ -79,9 +79,7 @@ configure_nvm() {
nvm install lts/iron nvm install lts/iron
nvm alias default lts/iron nvm alias default lts/iron
nvm install-latest-npm nvm install-latest-npm
if [ $abroad -ne 1 ]; then echo "registry=https://registry.npmmirror.com" > ~/.npmrc
echo "registry=https://registry.npmmirror.com" > ~/.npmrc
fi
fi fi
} }