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

Fixing shell aliases module name mismatch #1753

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

RalfNorthman
Copy link
Contributor

The Nushell book says:

Some users may prefer to think of this feature as multiple "shells within shells", where each has its own directory.

The Standard Library provides a set of aliases that can be used in place of the dirs commands above.

Import them using:

use std/dirs shell-aliases *

The built-in aliases are: ...

But the Nushell source code says

crates/nu-std/std/dirs/mod.nu

export module shells-aliases {
export alias shells = main
export alias enter = add
export alias dexit = drop

This PR aims to fix this mismatch.

@NotTheDr01ds
Copy link
Contributor

NotTheDr01ds commented Jan 22, 2025

Oops - That was my typo. Thanks for catching that!

@NotTheDr01ds NotTheDr01ds merged commit e8ba4c0 into nushell:main Jan 22, 2025
2 checks 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