A shell prompt for nushell, packaged for packer.nu and numng.
I like starship, but wanted features like nu-overlay infos.
- directory
- relative to home, git repo or root
- git branch
- last exit code
- nu overlay name
- hide based on name
- python package pyvenv status
Due to it being pretty minimal you configure it directly in the source code (for now).
Since changing the source-code messes up packer.nu
's updater you should mark the package
as frozen (freeze: true
) beforehand and update it manually.
The code is located at $'($env.NU_PACKER_HOME)/start/yasp'
env.nu
loads it and configures the designutil.nu
contains utility functionssection.nu
contains functions, which generate the sections of your prompt
- registering a
env.PWD
hook is buggy, therefore it currently updates everything after every command.