Skip to content

Path syntax for accessing a module from another module seems odd #19322

Open

Description

@bilberry-work

Basics

  • I have done a basic search through the issue tracker to find similar or related issues.
  • I have made myself familiar with the available features of Nushell for the particular area this enhancement request touches.

Related problem

When trying to use a module from another module, I have to use use ../other-module-name.
For example, given this structure:-

modules/
    first/
         mod.nu
    second/
         mod.nu

The logic in second/mod.nu to use the first module is use ../first. This is odd.

Describe the solution you'd like

Module syntax should always be relative to the locatiojn of modules.

Describe alternatives you've considered

No response

Additional context and details

No response

Activity

  1. added
    category:enhancement
    status:needs-triage
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:enhancementstatus:needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions