feat: modify some script
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.ustc.edu.cn/brew.git"
|
||||
export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.ustc.edu.cn/homebrew-core.git"
|
||||
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.ustc.edu.cn/homebrew-bottles"
|
||||
export HOMEBREW_API_DOMAIN="https://mirrors.ustc.edu.cn/homebrew-bottles/api"
|
||||
|
||||
/bin/bash -c "$(curl -fsSL https://mirrors.ustc.edu.cn/misc/brew-install.sh)"
|
||||
@@ -0,0 +1,4 @@
|
||||
# install neovim
|
||||
cd /usr/local
|
||||
wget https://github.com/neovim/neovim/releases/download/stable/nvim-macos.tar.gz
|
||||
tar zxvf nvim-macos.tar.gz
|
||||
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!bin/sh
|
||||
#git clone https://github.com/hilaily/.dotfile.git ~/.dotfile
|
||||
|
||||
# 判断 zsh 是否安装
|
||||
#sudo yum update && sudo yum -y install zsh
|
||||
|
||||
# 判断 oh-my-zsh 是否安装
|
||||
if [ ! -d "$HOME/.oh-my-zsh" ];then
|
||||
export ZSH=$HOME/.oh-my-zsh
|
||||
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
|
||||
fi
|
||||
ln -sf ~/.dotfile/.zshrc ~/
|
||||
ln -sf ~/.dotfile/laily.zsh-theme ~/.oh-my-zsh/themes/
|
||||
ln -sf ~/.dotfile/.tmux.conf ~/
|
||||
ln -sf ~/.dotfile/git/.gitconfig ~/.gitconfig
|
||||
|
||||
Reference in New Issue
Block a user