Skip to content

Commit

Permalink
use new NGM Git prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Dec 2, 2023
1 parent 9b39ddc commit 5ce716a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .config/nushell/config.nu
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,13 @@ $env.PROMPT_INDICATOR_VI_INSERT = ' '
$env.PROMPT_INDICATOR_VI_NORMAL = ' '

export-env {
use nu-scripts shell_prompt
shell_prompt setup --pwd-mode "git" --indicators {vi: {
insert: "> "
normal: "> "
}} --duration-threshold 10sec
use nu-git-manager-sugar git-prompt setup
setup --duration-threshold 10sec --indicators {
vi: {
insert: "> "
normal: "> "
}
}
}

export-env {
Expand Down

0 comments on commit 5ce716a

Please sign in to comment.