Skip to content

Commit

Permalink
update fzf support
Browse files Browse the repository at this point in the history
  • Loading branch information
tang-hi committed Mar 24, 2021
1 parent 72b42ae commit 9b17005
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 9 additions & 0 deletions install_github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"

0 comments on commit 9b17005

Please sign in to comment.