diff options
| author | 2020-05-06 18:41:01 +0530 | |
|---|---|---|
| committer | 2020-05-06 18:41:01 +0530 | |
| commit | 4832fc5fe1297f1241310f2453b850c72743e1bd (patch) | |
| tree | 47c27a2f7309e9b1a5874df55635e383e667ac71 /plugins/fzopen | |
| parent | c8ecf06c515054595ac1dfa34989a3a7d26373ce (diff) | |
| download | nnn-4832fc5fe1297f1241310f2453b850c72743e1bd.tar.gz | |
Drop fzy support
Diffstat (limited to 'plugins/fzopen')
| -rwxr-xr-x | plugins/fzopen | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/fzopen b/plugins/fzopen index a678627..677ea26 100755 --- a/plugins/fzopen +++ b/plugins/fzopen @@ -1,10 +1,10 @@ #!/usr/bin/env sh -# Description: Fuzzy find a file in directory subtree with fzy +# Description: Fuzzy find a file in directory subtree # Opens in $VISUAL or $EDITOR if text # Opens other type of files with xdg-open # -# Dependencies: fd/find, fzf/fzy/skim, xdg-open +# Dependencies: fd/find, fzf/skim, xdg-open # # Shell: POSIX compliant # Author: Arun Prakash Jana @@ -19,8 +19,6 @@ if which fzf >/dev/null 2>&1; then entry="$(eval "$cmd" | fzf --delimiter / --nth=-1 --tiebreak=begin --info=hidden)" # To show only the file name # entry=$(find . -type f 2>/dev/null | fzf --delimiter / --with-nth=-1 --tiebreak=begin --info=hidden) -elif which fzy >/dev/null 2>&1; then - entry=$(find . -type f 2>/dev/null | fzy) elif which sk >/dev/null 2>&1; then entry=$(find . -type f 2>/dev/null | sk) else |