Browse Source

Make FZF ZSH extension path easily modifiable

Frans Bergman 5 years ago
parent
commit
2c55ee32e0
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .zshrc

+ 3 - 2
.zshrc

@@ -33,8 +33,9 @@ source ~/.aliases
 bindkey -v
 
 # Fuzzy Finder
-source /usr/share/fzf/completion.zsh
-source /usr/share/fzf/key-bindings.zsh
+FZF_PATH=/usr/share/doc/fzf/
+source $FZF_PATH/completion.zsh
+source $FZF_PATH/key-bindings.zsh
 
 fzf-history-widget-accept() {
   fzf-history-widget