Explorar el Código

zshrc: check for fzf in the debian location

raylu hace 5 años
padre
commit
a538efd23c
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      zshrc

+ 2 - 3
zshrc

@@ -124,9 +124,8 @@ if [ -d $HOME/bin ]; then
 	PATH=$HOME/bin:$PATH
 fi
 
-if [ -d /usr/local/opt/fzf ]; then
-	PATH="$PATH:/usr/local/opt/fzf/bin"
-	source "/usr/local/opt/fzf/shell/key-bindings.zsh"
+if [ -x /usr/bin/fzf ]; then
+	source "/usr/share/doc/fzf/examples/key-bindings.zsh"
 fi
 
 stty stop undef