Skip to content

Remove direnv hook example #1084

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 2 commits into
base: main
Choose a base branch
from

Conversation

NotTheDr01ds
Copy link
Contributor

@NotTheDr01ds NotTheDr01ds commented Apr 15, 2025

As noted in nushell/nushell#15452, having a direnv example in nu_scripts and one in the Cookbook is a problem in that they've rarely been in sync. Since there's documentation for this in the Cookbook, let's remove it from nu_scripts and just have one going forward.

@NotTheDr01ds
Copy link
Contributor Author

Merge after 0.104 release.

@NotTheDr01ds NotTheDr01ds reopened this Apr 15, 2025
@NotTheDr01ds NotTheDr01ds marked this pull request as draft April 15, 2025 00:31
@NotTheDr01ds NotTheDr01ds changed the title Add note to direnv example Remove direnv hook example Apr 15, 2025
@NotTheDr01ds NotTheDr01ds marked this pull request as ready for review April 15, 2025 00:39
@fdncred
Copy link
Contributor

fdncred commented Apr 15, 2025

There are 2 files in the direnv folder. Did we mean to only remove one of them?

@NotTheDr01ds
Copy link
Contributor Author

Did we mean to only remove one of them?

Yes, the other appears to be an example of how to do direnv type functionality in pure Nushell (without direnv). It's just not explained. That seems to be a general problem with a lot of stuff in nu_scripts, of course.

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