mirror of
https://github.com/jarun/nnn.git
synced 2024-12-11 07:38:57 +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
|