aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/user-scripts/fzy.sh
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-03 23:05:51 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-03 23:05:51 +0530
commit5675edebc709c2b3f5f7cabd5c66810997551e28 (patch)
treea710e8cbeca7063485d2bc2287880c3ad5defaa1 /scripts/user-scripts/fzy.sh
parent9ecab2b30be3448697ac660aa97900b7d3a8e24c (diff)
downloadnnn-5675edebc709c2b3f5f7cabd5c66810997551e28.tar.gz
Add sample user scripts
Diffstat (limited to 'scripts/user-scripts/fzy.sh')
-rw-r--r--scripts/user-scripts/fzy.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/user-scripts/fzy.sh b/scripts/user-scripts/fzy.sh
new file mode 100644
index 0000000..8bf5268
--- /dev/null
+++ b/scripts/user-scripts/fzy.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+
+# Description: Fuzzy find files in directory subtree with fzy and open using xdg-open
+#
+# Shell: generic
+# Author: Arun Prakash Jana
+
+xdg-open $(find -type f | fzy) >/dev/null 2>&1