Remove script dependency on fzf.sh library file

This commit is contained in:
Eric Torres
2022-10-01 12:36:18 -07:00
parent a8972362fc
commit 7eda5e8c93
3 changed files with 2 additions and 9 deletions

View File

@ -100,7 +100,7 @@ if ! [[ -d "$DIR" ]]; then
fi
files="$(find_files "$DIR")"
selected_file="$(run_fzf "$files")"
selected_file="$(fzf --select-1 --exit-0 <<< "$files")"
# Check if target exists
if [[ -f "$1" && -z "$FORCE_OVERWRITE" ]]; then