aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/fzy
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-18 20:27:35 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-18 20:32:53 +0530
commit5cf34717161bd866a634d8a9ad209afb4004857b (patch)
treee63a1f4849c7ebb7658725a4369caa48a0710af4 /plugins/fzy
parent12ce9451ee1c24ad245d33e8944ba77a1108b5b2 (diff)
downloadnnn-5cf34717161bd866a634d8a9ad209afb4004857b.tar.gz
Plugins!
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