aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/user-scripts/fzy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/user-scripts/fzy.sh')
-rw-r--r--scripts/user-scripts/fzy.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/user-scripts/fzy.sh b/scripts/user-scripts/fzy.sh
index 8bf5268..ba8cfc9 100644
--- a/scripts/user-scripts/fzy.sh
+++ b/scripts/user-scripts/fzy.sh
@@ -1,8 +1,12 @@
#!/usr/bin/env sh
-# Description: Fuzzy find files in directory subtree with fzy and open using xdg-open
+# Description: Fuzzy find a file in directory subtree with fzy and open using xdg-open
#
# Shell: generic
# Author: Arun Prakash Jana
+# bash, zsh
xdg-open $(find -type f | fzy) >/dev/null 2>&1
+
+# fish
+# xdg-open (find -type f | fzy) >/dev/null 2>&1