diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 34095822..9c50cd20 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -158,7 +158,7 @@ cmd fzfgrep ${{ --ansi --layout=reverse --header 'Searching file contents' |\ grep -iv -e 'Trash/files' -e 'Trash/info' )" - file="$(realpath "$(echo "$res" | cut -d':' -f1 | sed 's/\\/\\\\/g;s/"/\\"/g')")" + file="$(realpath "$(echo "$res" | cut -d':' -f1 | sed 's/\\/\\\\/g;s/"/\\"/g')" 2>/dev/null)" row="$(echo "$res" | cut -d':' -f2)" column="$(echo "$res" | cut -d':' -f3)" if [ -n "$res" ]; then