Files
dotfiles/dot_config/nushell/nu_scripts/modules/prompt
Cian Hughes 896af887ca Changed . token to _dot
This change allows the dotfiles to work with chezmoi (e.g: on windows)
and improves grepability with neovim/telescope
2024-11-07 13:52:17 +00:00
..
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00:00
2024-11-07 13:52:17 +00: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 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