amtoine / nu-git-manager

A collection of Nushell tools to manage Git repositories.
GNU General Public License v3.0
26 stars 2 forks source link

add `git-prompt` module #119

Closed amtoine closed 9 months ago

amtoine commented 9 months ago

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 :wink: