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

bash: homedir expansion wrongly quoted #949

Closed
1 of 11 tasks
rsteube opened this issue Dec 3, 2023 · 0 comments · Fixed by #950
Closed
1 of 11 tasks

bash: homedir expansion wrongly quoted #949

rsteube opened this issue Dec 3, 2023 · 0 comments · Fixed by #950
Labels
bash bug Something isn't working

Comments

@rsteube
Copy link
Member

rsteube commented Dec 3, 2023

Current Behavior

Seems bash needs the quotes to be after the slash:

bsh ❯ bat ~"/Downloads/with space"
[bat error]: '~/Downloads/with space': No such file or directory (os error 2)

~ 
bsh ❯ bat ~/"Downloads/with space"
───────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /home/rsteube/Downloads/with space   <EMPTY>
───────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Expected Behavior

Either add quotes after slash or revert to backslash behaviour.

Steps To Reproduce

No response

Version

0.46.1

OS

  • Linux
  • OSX
  • Windows

Shell

  • Bash
  • Elvish
  • Fish
  • Nushell
  • Oil
  • Powershell
  • Xonsh
  • Zsh

Anything else?

related #947

@rsteube rsteube added the bug Something isn't working label Dec 3, 2023
@rsteube rsteube added the bash label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bash bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant