nnn/plugins/fzy-open

9 lines
211 B
Plaintext
Raw Permalink Normal View History

2019-01-03 17:35:51 +00:00
#!/usr/bin/env sh
2019-01-04 17:24:18 +00:00
# Description: Fuzzy find a file in directory subtree with fzy and open using xdg-open
2019-01-03 17:35:51 +00:00
#
# Shell: POSIX compliant
2019-01-03 17:35:51 +00:00
# Author: Arun Prakash Jana
2019-03-28 15:19:17 +00:00
xdg-open "$(find -type f | fzy)" >/dev/null 2>&1