mirror of
https://github.com/jarun/nnn.git
synced 2024-11-05 02:43:12 +00:00
13 lines
269 B
Bash
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
|