new feature: fzf
[distro-setup] / brc
diff --git a/brc b/brc
index 1539a767e0aaec91969f25b49234eb1dbc40b503..d17c1a132e70ee4b7bc0f3f01bc39210ccf7f6bb 100644 (file)
--- a/brc
+++ b/brc
@@ -279,6 +279,15 @@ mysrc() {
 mysrc /a/bin/small-misc-bash/ll-function
 mysrc /a/bin/distro-functions/src/package-manager-abstractions
 
+# things to remember:
+# ALT-C - cd into the selected directory
+# CTRL-T - Paste the selected file path into the command line
+#
+# good guide to some of its basic features is the readme file
+# https://github.com/junegunn/fzf
+if [[ -s /usr/share/doc/fzf/examples/key-bindings.bash ]]; then
+  source /usr/share/doc/fzf/examples/key-bindings.bash
+fi
 
 # * functions