about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <david.morgan@gmail.com>2016-07-28 06:59:03 +0000
committerDavid Morgan <david.morgan@gmail.com>2016-07-28 06:59:03 +0000
commit1d3235224a677a21df813f67a5a464cef3064322 (patch)
treee08006baf9dcbd6c9b232d3bf6d41c21eeff68d0
parent7a3d5902efbd01f56ccc3673916be37b6016f714 (diff)
downloaddotfiles-1d3235224a677a21df813f67a5a464cef3064322.tar.gz
Use fzf
-rw-r--r--.bashrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 9d5ce2d..d89c42f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -538,6 +538,13 @@ if [[ "x$OS" == "xWindows_NT" ]]; then
     [[ -d $WIN_HOME/workspaces ]] && export WORKSPACES=$WIN_HOME/workspaces
 fi
 
+if [ -f ~/.fzf.bash  ]; then
+    . ~/.fzf.bash
+else
+    [ -f /usr/share/fzf/completion.bash  ] && . /usr/share/fzf/completion.bash
+    [ -f /usr/share/fzf/key-bindings.bash  ] && . /usr/share/fzf/key-bindings.bash
+fi
+
 true
 
 # vim: set et ts=4 tw=120 :