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

should we include git related prompts? #9

Closed
amtoine opened this issue May 1, 2023 · 2 comments · Fixed by #119
Closed

should we include git related prompts? #9

amtoine opened this issue May 1, 2023 · 2 comments · Fixed by #119
Labels
enhancement New feature or request new-command Adds a new command question Further information is requested

Comments

@amtoine
Copy link
Owner

amtoine commented May 1, 2023

really just a question 😌

@melMass
Copy link
Collaborator

melMass commented May 1, 2023

I guess it wouldn't hurt, what do you have in mind?

Maybe composable utilities to build your own with a few presets?
Ideally it would integrate with other prompts

@amtoine
Copy link
Owner Author

amtoine commented May 1, 2023

I guess it wouldn't hurt, what do you have in mind?

not precisely, i see there are a few things in the nushell/nu_scripts but i do not use them 🤔
there will be investigation required for this 😋

Maybe composable utilities to build your own with a few presets? Ideally it would integrate with other prompts

👍

@amtoine amtoine added the question Further information is requested label Oct 11, 2023
@amtoine amtoine added the needs-triage The issues hasn't been triaged yet label Nov 2, 2023
@amtoine amtoine added enhancement New feature or request new-command Adds a new command and removed needs-triage The issues hasn't been triaged yet labels Dec 2, 2023
amtoine added a commit that referenced this issue Dec 2, 2023
should
- close #9 

## description
this prompt comes from `amtoine/scripts` in the `nu-scripts` package,
module `shell_prompt`.

it can be used as
```nushell
use nu-git-manager-sugar git-prompt setup
setup --duration-threshold 10sec --indicators {
    vi: {
        insert: "> "
        normal: "> "
    }
}
```

> **Important**
> i did not add tests for this right now, only TODOs on all the commands
i believe should be tested 😉
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new-command Adds a new command question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants