Browse Source

Install fzf locally instead of globally

Frans Bergman 2 years ago
parent
commit
b32f32c6cf
2 changed files with 4 additions and 1 deletions
  1. 4 0
      install.sh
  2. 0 1
      packages.txt

+ 4 - 0
install.sh

@@ -60,6 +60,10 @@ fancy_print "Installing Oh My Zsh plugins"
 git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
 git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
 
+fancy_print "Installing fzf"
+git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
+~/.fzf/install --key-bindings --completion --no-update-rc
+
 fancy_print "Installing vim-plug"
 curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
         https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

+ 0 - 1
packages.txt

@@ -5,7 +5,6 @@ dmenu
 feh
 font-hack-ttf
 font-hanazono
-fzf
 git
 htop
 lesspipe