From 4832fc5fe1297f1241310f2453b850c72743e1bd Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 6 May 2020 18:41:01 +0530 Subject: Drop fzy support --- plugins/fzz | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/fzz') 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 -- cgit v1.2.3-70-g09d2