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

Autojump argument parsing #1077

Merged
merged 1 commit into from
Mar 23, 2025
Merged

Autojump argument parsing #1077

merged 1 commit into from
Mar 23, 2025

Conversation

Direwolfesp
Copy link
Contributor

I've changed the number of arguments of def --env j [dir] to def --env j [...dir], this change makes the behaviour more like the j autojump you can find in other shells where an arbitrary number of inputs are given to it.

ie.
In zsh:
image

In nushell old j:
image

In nushell new j:
image

@fdncred
Copy link
Contributor

fdncred commented Mar 23, 2025

Thanks

@fdncred fdncred merged commit e956708 into nushell:main Mar 23, 2025
1 check passed
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