1
1
mirror of https://github.com/jarun/nnn.git synced 2024-09-20 01:08:27 +03:00
nnn/user-scripts/fzy

13 lines
269 B
Plaintext
Raw Normal View History

2019-01-03 20:35:51 +03:00
#!/usr/bin/env sh
2019-01-04 20:24:18 +03:00
# Description: Fuzzy find a file in directory subtree with fzy and open using xdg-open
2019-01-03 20:35:51 +03:00
#
# Shell: generic
# Author: Arun Prakash Jana
2019-01-04 20:24:18 +03:00
# bash, zsh
2019-01-03 20:35:51 +03:00
xdg-open $(find -type f | fzy) >/dev/null 2>&1
2019-01-04 20:24:18 +03:00
# fish
# xdg-open (find -type f | fzy) >/dev/null 2>&1