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

Add shell instructions for nushell #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Br1ght0ne
Copy link

@mgunyho
Copy link
Owner

mgunyho commented Aug 26, 2023

Thanks! This looks very similar to #89, looks like it doesn't handle options passed to tere, such as tere --version or tere --ignore-case, am I right?

@Br1ght0ne
Copy link
Author

I did not notice #89 before opening this - sorry! Yes, this currently doesn't handle any options, as nushell complains about flags if they don't appear in the subcommand signature. I'll look into it, thanks!

@ejenk0
Copy link

ejenk0 commented Dec 15, 2023

Hi this does not work for me, does anyone have a working config for using there in nushell? @Br1ght0ne

@kubouch
Copy link

kubouch commented Jan 18, 2024

We made some language changes to Nushell, and it should be possible to use def --wrapped --env to achieve both options passing and preserving the directory after cd.

@mgunyho
Copy link
Owner

mgunyho commented Jan 18, 2024

Cool! Feel free to update the PR to include these. Maybe it's also good to mention that version > x.y.z is required, like it is saying for Xonsh currently.

I updated the README with some info on how the shell alias should work: https://github.com/mgunyho/tere#testing-a-new-shell-integration

@Br1ght0ne
Copy link
Author

Thanks for the heads up @kubouch! I'll try it out in the coming days.

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.

None yet

4 participants