Compare commits
No commits in common. "461e585f8fd2225bc504b9cea6e47d7f6c2110f0" and "d8cde143086dca709af0b68a472a0649d30c0319" have entirely different histories.
461e585f8f
...
d8cde14308
@ -135,7 +135,7 @@ configure_vim() {
|
||||
}
|
||||
|
||||
configure_zsh() {
|
||||
[ -d ~/.oh-my-zsh ] && return
|
||||
[ -f ~/.zshrc ] && return
|
||||
[ $offline -eq 1 ] && return
|
||||
|
||||
if confirm_action "要配置 zsh 吗?" "Y"; then
|
||||
|
||||
@ -79,10 +79,8 @@ configure_nvm() {
|
||||
nvm install lts/iron
|
||||
nvm alias default lts/iron
|
||||
nvm install-latest-npm
|
||||
if [ $abroad -ne 1 ]; then
|
||||
echo "registry=https://registry.npmmirror.com" > ~/.npmrc
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# ============================================================
|
||||
|
||||
Loading…
Reference in New Issue
Block a user