diff --git a/.config/lf/test.sh b/.config/lf/test.sh deleted file mode 100644 index 523023f0e..000000000 --- a/.config/lf/test.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -clear -file="$(\ -fzf --expect=' ' --select-1 --cycle --bind one:accept -q '^' -e -n1 --scheme=history --history="$XDG_DATA_HOME/lf/shortcut_history" --header='Searching Shortcuts' --preview=' - file=$(cut -f2 <<< "{}") - if [ -f "$file" ] && [ -r "$file" ]; then - head -$LINES "$file" - elif [ -d "$file" ] && [ -r "$file" ]; then - ls -lhpANX --color=always --group-directories-first "$file" - fi - ' <"$XDG_DATA_HOME/lf/dirs" | - cut -f2 | - tr -d '\n' -)" - -if [ -d "$file" ]; then - lf -remote "send $id cd $file" - return -elif [ -f "$file" ]; then - lf -remote "send $id select $file" -fi