nu: Enable transient prompt
Enabled transient prompt for nushell so we only display the line character and attempt to display command durations for past prompts. Not sure if command duration is working correctly. If not, might have to revert this change.
This commit is contained in:
parent
ae5470a5d8
commit
37cc1a3d83
1 changed files with 4 additions and 1 deletions
|
|
@ -16,7 +16,10 @@ $env.config.edit_mode = "vi"
|
|||
$env.config.completions.algorithm = "fuzzy"
|
||||
|
||||
$env.PROMPT_INDICATOR = ""
|
||||
$env.PROMPT_MULTILINE_INDICATOR = "::: "
|
||||
$env.PROMPT_MULTILINE_INDICATOR = "::: " # overwritten by starship
|
||||
# enable transient prompt with starship
|
||||
$env.TRANSIENT_PROMPT_COMMAND = ^starship module character
|
||||
$env.TRANSIENT_PROMPT_COMMAND_RIGHT = {|| ^starship module cmd_duration }
|
||||
|
||||
# FIXME: Disabled for now to use starship prompts instead
|
||||
# but still very buggy. See:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue