nnn/scripts/user-scripts/fzy.sh
2019-01-04 22:54:18 +05:30

13 lines
269 B
Bash

#!/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