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

add git-prompt module #119

Merged
merged 6 commits into from
Dec 2, 2023
Merged

add git-prompt module #119

merged 6 commits into from
Dec 2, 2023

Conversation

amtoine
Copy link
Owner

@amtoine amtoine commented Dec 2, 2023

should

description

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

it can be used as

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 😉

comes from `amtoine/scripts` in the `nu-scripts` package, module
`shell_prompt`.
@amtoine amtoine added sugar Related to the `nu-git-manager-sugar` module new-command Adds a new command labels Dec 2, 2023
amtoine added a commit to amtoine/scripts that referenced this pull request Dec 2, 2023
@amtoine amtoine marked this pull request as ready for review December 2, 2023 18:05
@amtoine amtoine merged commit 4ad4958 into main Dec 2, 2023
4 checks passed
@amtoine amtoine deleted the add-git-prompt branch December 2, 2023 18:05
amtoine added a commit to amtoine/dotfiles that referenced this pull request Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-command Adds a new command sugar Related to the `nu-git-manager-sugar` module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

should we include git related prompts?
1 participant