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

Cannot deal with a directory name including whitespaces when sh_word_split is on #52

Open
aoyama-val opened this issue Jul 18, 2024 · 0 comments · May be fixed by #53
Open

Cannot deal with a directory name including whitespaces when sh_word_split is on #52

aoyama-val opened this issue Jul 18, 2024 · 0 comments · May be fixed by #53

Comments

@aoyama-val
Copy link

$ setopt sh_word_split
$ mkdir 'foo bar'
$ cd 'foo bar'
$ ls
_per-directory-history-addhistory:11: failed to write history file /Users/xxx/.local/share/directory_history/Users/me/tmp/foo: is a directory
_per-directory-history-change-directory:9: failed to write history file /Users/xxx/.local/share/directory_history/Users/me/tmp/foo: is a directory

I think we need to quote variables properly.

@aoyama-val aoyama-val linked a pull request Jul 18, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant