Commit be76a47
Changed files (1)
modules
core
modules/core/shell.nix
@@ -31,8 +31,11 @@
if test "$TERM" = "xterm"; then
PS1="\[\033]2;\h:\u:\w\007\]$PS1"
fi
- # Final (transient) prompt: replace the two-line prompt in scrollback.
+ # To separate previous command output
+ PROMPT_RULER="\e[90m─\e[0m"
+
PS1_FINAL="\[\033[$PROMPT_COLOR\]\u@\h\\$\[\033[0m\] "
+ PROMPT_RULER_FINAL="empty-line"
fi
'';
};