nushell / nushell/nu_scripts

zoxide-menu outputs path prefixed with cwd

Open
#1,126 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nushell
Stars
1.3k
Forks
323
Avg merge
2h 55m
Merged PRs (30d)
3

Description

In my config I have

source vendor/nu_scripts/custom-menus/zoxide-menu.nu

and when I now press ctrl o and select a directory I end up with

$ C:\Users\jabdinghoff\IdeaProjects\C:\Users\jabdinghoff\AppData\Roaming\nushell

where the first part is my current working directory and the second part is what I selected

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading vendor/nu_scripts/custom-menus/zoxide-menu.nu and reproduce the Ctrl-O directory selection using the configuration shown, preferably with the Windows-style paths from the report. Trace how the selected path is combined with the current working directory; done means selecting a directory produces its path once rather than prefixing it with the cwd.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.