counsel-find-file-occur can't handle directory names with spaces #1323
Comments
Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. |
It currently uses the command template
"ls | grep -i -E '%s' | xargs ls"
to generate the file list, butxargs
by default uses arbitrary whitespace as the delimiter, so this breaks up file names with spaces. I suggest changing the last part toxargs -d '\n' ls
, which will work better (it still doesn't protect you against file names with newlines in them...).The text was updated successfully, but these errors were encountered: