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

autojump, memorize user cd history and jump with blur search. #55

Open
Tracked by #2
superxcgm opened this issue Sep 19, 2021 · 1 comment
Open
Tracked by #2

autojump, memorize user cd history and jump with blur search. #55

superxcgm opened this issue Sep 19, 2021 · 1 comment
Assignees

Comments

@superxcgm
Copy link
Owner

superxcgm commented Sep 19, 2021

Epic

Process

Description

Shell should able to remember some directories that user frequently access, and navigate user to that directory by using j command. If user quit shell and run shell again, shell should not lost it's memory. You can checkout more information on https://github.com/wting/autojump.

AC

  1. Behave like cd
    Given: User current in some directory, for example: foo, and have sub directories a, b
    When: User type j a and hit <Enter>
    Then: shell should change working directory to directory a

  2. Quick access
    Given: User usually go to some directory, for example: foo, and currently in home directory ~
    When: User type j foo and hit <Enter>
    Then: shell should change working directory to directory foo

  3. Quick access with fuzzy match
    Given: User usually go to some directory, for example: foo, and currently in home directory ~
    When: User type j fo and hit <Enter>
    Then: shell should change working directory to directory foo

@superxcgm superxcgm mentioned this issue Sep 19, 2021
32 tasks
@superxcgm superxcgm changed the title Support autojump, memorize user cd history and jump with blur search. autojump, memorize user cd history and jump with blur search. Sep 19, 2021
superxcgm added a commit that referenced this issue Oct 26, 2021
support autojump function
@superxcgm
Copy link
Owner Author

QA

functional test cd history should not write to user cd history file 🙅‍♂️

image

  1. Behave like cd
    Given: User current in some directory, for example: foo, and have sub directories a, b
    When: User type j a and hit <Enter>
    Then: ✅shell should change working directory to directory a

  2. Quick access
    Given: User usually go to some directory, for example: foo, and currently in home directory ~
    When: User type j foo and hit <Enter>
    Then: ✅shell should change working directory to directory foo

  3. Quick access with fuzzy match
    Given: User usually go to some directory, for example: foo, and currently in home directory ~
    When: User type j fo and hit <Enter>
    Then: ✅shell should change working directory to directory foo

superxcgm added a commit that referenced this issue Nov 27, 2021
Support function test cd history in other test file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants