silence empty realpath in lf
This commit is contained in:
parent
7f1038f33d
commit
1daf92aa3f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue