diff options
| author | hachem <im@hachem.wtf> | 2025-12-06 02:40:25 +0100 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-12-06 02:40:25 +0100 |
| commit | 423b2c2d62064057593e504d79b3f749733c611c (patch) | |
| tree | 34dd83c54c100e98743f4d4e7d98757355811883 | |
| parent | eb1ec2d8f5090c7c18fe3acc9106ceee0dbd9f28 (diff) | |
Update Nushell configuration with prompt settings
| -rw-r--r-- | .config/nushell/config.nu | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/nushell/config.nu b/.config/nushell/config.nu index c0cd1cc..c536741 100644 --- a/.config/nushell/config.nu +++ b/.config/nushell/config.nu @@ -1,7 +1,8 @@ $env.config.buffer_editor = "nvim" $env.config.show_banner = false -alias vi = nvim +$env.PROMPT_COMMAND = { || $"(pwd | path basename)" } +$env.PROMPT_INDICATOR = $" :: " +$env.PROMPT_COMMAND_RIGHT = {||} -mkdir ($nu.data-dir | path join "vendor/autoload") -starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu") +alias vi = nvim |
