Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG filenames with spaces #9

Open
blaggacao opened this issue May 14, 2020 · 2 comments
Open

BUG filenames with spaces #9

blaggacao opened this issue May 14, 2020 · 2 comments

Comments

@blaggacao
Copy link

blaggacao commented May 14, 2020

notes new test "My foo Note"

notes ls | fzf | xargs -o typora - trying to open "My foo Note" fails due to the spaces

@blaggacao
Copy link
Author

Concrete example:

notes ls
/home/blaggacao/ghq/keybase/team/p1hq/notas/tickets/gitea-bot.md
/home/blaggacao/ghq/keybase/team/p1hq/notas/minutas/Feedback EPs & Todos.md
/home/blaggacao/ghq/keybase/team/p1hq/notas/tickets/k8s.md
/home/blaggacao/ghq/keybase/team/p1hq/notas/tickets/kssh.md
/home/blaggacao/ghq/keybase/team/p1hq/notas/tickets/goautodial.md
/home/blaggacao/ghq/keybase/team/p1hq/notas/tickets/wireguard.md
notes ls | xargs rg feedback
/home/blaggacao/ghq/keybase/team/p1hq/notas/minutas/Feedback: No such file or directory (os error 2)
EPs: No such file or directory (os error 2)
&: No such file or directory (os error 2)
Todos.md: No such file or directory (os error 2)

@blaggacao
Copy link
Author

blaggacao commented May 14, 2020

For a fix, in my opinion, I'd would be visually preferable if only the spaced part would get quoted, like so, in order to not disturb the column alignments of the folder parts:

/.../notas/minutas/"Feedback EPs & Todos.md"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant