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

Quote source paths in reload_config keybinding #86

Merged
merged 1 commit into from
Apr 8, 2023

Conversation

RickCogley
Copy link
Contributor

I use macOS and installed nushell via brew. It installs configs in a path that contains a space (blurgh), so when I tried your reload_config keybinding as is, it fails. Per the discussion on discord, I tested surrounding the paths being fed to the source commands with "", then '', and while either of those work on a mac, someone mentioned that only '' works on Windows, so I added '' around the path expansions to handle the case where those paths might contain a space.

I use macOS and installed nushell via brew. It installs configs in a path that contains a space (blurgh), so when I tried your `reload_config` keybinding as is, it fails. Per the [discussion on discord](https://discord.com/channels/601130461678272522/1093381138434764861/1093381138434764861), I tested surrounding the paths being fed to the source commands with "", then '', and while either of those work on a mac, someone mentioned that only '' works on Windows, so I added '' around the path expansions to handle the case where those paths might contain a space.
Copy link
Owner

@amtoine amtoine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still works on linux, that's perfect 👌 🙏

@amtoine
Copy link
Owner

amtoine commented Apr 8, 2023

thanks @RickCogley

@amtoine amtoine merged commit 26f02d2 into amtoine:main Apr 8, 2023
@RickCogley
Copy link
Contributor Author

RickCogley commented Apr 8, 2023 via email

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.

2 participants