nu_scripts/prompt
2023-03-02 15:54:42 -06:00
..
async_git_prompt Update to 0.75.1 syntax (#371) 2023-02-07 14:16:58 -06:00
images feat: add example for starship and shell_space (#320) 2022-12-01 07:01:15 -06:00
full-line.nu update str lpad str rpad to fill (#396) 2023-03-02 15:54:42 -06:00
oh-my-minimal.nu Fix space-in-path issue and extra / at root (#379) 2023-02-15 12:26:15 -06:00
oh-my-v2-docs.md add oh-my-nu-v2 (#311) 2022-11-05 15:56:35 -05:00
oh-my-v2.nu Fix undetected windows enviroment (#312) 2022-11-11 12:30:58 -06:00
oh-my.nu fix oh-my.nu after do changes (#364) 2023-01-26 07:45:50 -06:00
panache-git.nu small tweaks to get panache working again (#365) 2023-01-27 07:14:35 -06:00
README.md feat: add example for starship and shell_space (#320) 2022-12-01 07:01:15 -06:00
shell_space.nu feat: add example for starship and shell_space (#320) 2022-12-01 07:01:15 -06:00
simple.nu Create simple.nu (#309) 2022-10-27 20:26:55 -05:00
starship.nu feat: add example for starship and shell_space (#320) 2022-12-01 07:01:15 -06:00

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 discribe 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 fucntion with the command following

help shells

shell_spaceshow