aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/fzz
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-06 18:41:01 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-06 18:41:01 +0530
commit4832fc5fe1297f1241310f2453b850c72743e1bd (patch)
tree47c27a2f7309e9b1a5874df55635e383e667ac71 /plugins/fzz
parentc8ecf06c515054595ac1dfa34989a3a7d26373ce (diff)
downloadnnn-4832fc5fe1297f1241310f2453b850c72743e1bd.tar.gz
Drop fzy support
Diffstat (limited to 'plugins/fzz')
-rwxr-xr-xplugins/fzz4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/fzz b/plugins/fzz
index 5b40269..049cf9d 100755
--- a/plugins/fzz
+++ b/plugins/fzz
@@ -9,8 +9,6 @@
if which fzf >/dev/null 2>&1; then
fuzzy=fzf
-elif which fzy >/dev/null 2>&1; then
- fuzzy=fzy
else
exit 1
fi
@@ -19,7 +17,7 @@ datafile="${_Z_DATA:-$HOME/.z}"
if [ -f "$datafile" ]; then
# I read the data from z's file instead of calling the z command so that the data doesn't need to be processed twice
sel=$(awk -F "|" '{print $1}' "$datafile" | "$fuzzy" | awk '{$1=$1};1')
- # NOTE: Uncomment this line and comment out the line above if you want to see the weightings of the dir's in the fzf/fzy pane
+ # NOTE: Uncomment this line and comment out the line above if you want to see the weightings of the dir's in the fzf pane
# sel=$(awk -F "|" '{printf "%s %s\n", $2, $1}' "$datafile" | "$fuzzy" | sed 's/^[0-9,.]* *//' | awk '{$1=$1};1')
else
exit 1