diff --git a/install.sh b/install.sh index 9d7a9b9..607b419 100644 --- a/install.sh +++ b/install.sh @@ -16,6 +16,11 @@ if [ ! -d "$ROOT/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" ]; then git clone https://gitee.com/lip0041/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting fi + +if [ ! -d "$ROOT/.fzf" ]; then + git clone https://gitee.com/lip0041/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting +fi + chsh -s $(which zsh) source ~/.zshrc diff --git a/install_github.sh b/install_github.sh index 585c1c5..578b2fe 100644 --- a/install_github.sh +++ b/install_github.sh @@ -16,9 +16,12 @@ if [ ! -d "$ROOT/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" ]; then git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting fi + + chsh -s $(which zsh) source ~/.zshrc + ## vim set VIM_PLUGIN=~/.vim/pack/plugins/{opt,start} if [ ! -d "$VIM_PLUGIN" ]; then @@ -70,5 +73,11 @@ cd $PLUGIN_DIR/YouCompleteMe git submodule update --init --recursive python3 install.py --clangd-completer +#set fzf +if [ ! -d "$ROOT/.fzf" ]; then + git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf + ~/.fzf/install +fi + echo -e "\033[0;32m successful! \033[0m"