mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-07-29 21:27:47 +00:00
![]() Before it would fail in paths outside the home directory with ``` × Pipeline empty. ╭─[/home/filipp/.config/nushell/panache-git.nu:32:76] 31 │ let current_dir_relative_to_home = ( 32 │ do --ignore-errors { $current_dir | path relative-to $nu.home-path } | str join · ────┬─── · ╰── no input value was piped in 33 │ ) ╰──── ``` |
||
---|---|---|
.. | ||
async_git_prompt | ||
images | ||
powerline | ||
basic-git.nu | ||
full-line.nu | ||
git_status_prompt.nu | ||
jalon-git.nu | ||
left_and_right_prompt.nu | ||
oh-my-minimal.nu | ||
oh-my-v2-docs.md | ||
oh-my-v2.nu | ||
oh-my.nu | ||
panache-git.nu | ||
README.md | ||
shell_space.nu | ||
simple.nu | ||
starship.nu |
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
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