Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 831 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 831 Bytes

Prompt Scripts

Definition

These scripts should be used to draw a custom command prompt in nushell. They can include anything that we think is appropriate for prompts such as git commands, starship, oh-my-posh, etc.

starship.nu

File is in starship

This describe how to use starship to make a leftprompt, the repo of starship is here.

This script set the output of starship as leftprompt

starshipshow

shell_space.nu

File is in shell_space

Use the function of shells in nu, you can view the function with the command following

help shells

shell_spaceshow

jalon-git.nu

From https://github.com/JalonWong/nushell-prompt jalon-git