nnn/user-scripts/fzy
2019-03-17 18:40:54 +05:30

13 lines
269 B
Bash
Executable file

#!/usr/bin/env sh
# 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