diff --git a/crates/nu-utils/src/default_files/sample_env.nu b/crates/nu-utils/src/default_files/sample_env.nu index 84926abb2f..23dc925ccd 100644 --- a/crates/nu-utils/src/default_files/sample_env.nu +++ b/crates/nu-utils/src/default_files/sample_env.nu @@ -24,6 +24,11 @@ $env.PROMPT_COMMAND = "Nushell" # Simple example - Dynamic closure displaying the path: $env.PROMPT_COMMAND = {|| pwd} +# PROMPT_COMMAND_RIGHT +# -------------------- +# Defines a prompt which will appear right-aligned in the terminal +$env.PROMPT_COMMAND_RIGHT = {|| date now | format date "%d-%a %r" } + # PROMPT_INDICATOR* # ----------------- # The prompt indicators are environmental variables that represent