aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/fzy
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/fzy')
-rwxr-xr-xplugins/fzy8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/fzy b/plugins/fzy
new file mode 100755
index 0000000..0ddd229
--- /dev/null
+++ b/plugins/fzy
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+
+# Description: Fuzzy find a file in directory subtree with fzy and open using xdg-open
+#
+# Shell: POSIX compliant
+# Author: Arun Prakash Jana
+
+xdg-open "$(find -type f | fzy)" >/dev/null 2>&1