Skip to content

allow paths to have brackets#9416

Merged
fdncred merged 3 commits intonushell:mainfrom
fdncred:update_glob_from_for_brackets
Jun 13, 2023
Merged

allow paths to have brackets#9416
fdncred merged 3 commits intonushell:mainfrom
fdncred:update_glob_from_for_brackets

Conversation

@fdncred
Copy link
Copy Markdown
Contributor

@fdncred fdncred commented Jun 12, 2023

Description

This PR is trying to allow you to have [blah] in your path and yet still have ls work. This is done by trying to separate the path from the pattern to be searched for. It may still need more work.

I've tested it with:

  • mkdir "[test]"
  • cd "[test]"
  • ls

Related to #9307
Hopefully fixes #9232

User-Facing Changes

Tests + Formatting

After Submitting

@fdncred fdncred marked this pull request as ready for review June 13, 2023 12:28
@fdncred
Copy link
Copy Markdown
Contributor Author

fdncred commented Jun 13, 2023

let's see if this helps

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 this pull request may close these issues.

It's not possible to run the ls command inside directories that contain characters "[]"

1 participant