Skip to content

Allow context switching when the name contains spaces #3303

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vageeshabr
Copy link
Contributor

@vageeshabr vageeshabr commented Apr 25, 2025

refs #3302

@vageeshabr vageeshabr marked this pull request as ready for review April 25, 2025 10:38
Copy link
Owner

@derailed derailed left a comment

Choose a reason for hiding this comment

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

@vageeshabr Thank you for this update! needs some TLC

@@ -57,7 +57,7 @@ func newArgs(p *Interpreter, aa []string) args {
default:
switch {
case p.IsContextCmd():
arguments[contextKey] = a
arguments[contextKey] = strings.Join(aa, " ")
Copy link
Owner

Choose a reason for hiding this comment

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

Tho this will work we also need to handle this cmd if we allow spaces aka po @Denv Env ns1 app=duh

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