Skip to content

Feature request: Change directory using numbered list #61

@roubles

Description

@roubles

Gurus,

This tool is great, and I think more value can be added if we can show a numbered list, and allow users to jump to a directory based on the number.

This is similar to how you run the history command, you see a numbered list of history commands, and then you can use !n to re run a particular command. Similarly,

$ l
1     foo         /Users/roubles/foo
2     bar         /Users/roubles/bar
3     fubar       /Users/roubles/fubar
4     nada        /Users/roubles/nada
5     alice       /Users/roubles/git/alice
6     bob         /Users/roubles/git/bob

And then users can use something like 'n 5' and jump to /Users/roubles/git/alice.

$ n 5
$ pwd
$ /Users/roubles/git/alice

This simplifies the workflow a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions