Use a different prompt for the TrueNAS web shell.

This commit is contained in:
Darren 'Tadgy' Austin 2026-04-10 18:17:14 +00:00
commit 284e70db49
2 changed files with 196 additions and 194 deletions

View file

@ -27,6 +27,8 @@ IGNOREEOF=0
PROMPT_DIRTRIM=2
PS1='[\[\033[$(__prompt_user_colour)\]\u\[\033[0m\]@\[\033[1;33m\]\h\[\033[0m\]] \[\033[1;34m\]\w\[\033[0m\] ->'
[[ -v container ]] && PROMPT_COMMAND='echo -ne "\e[2q";echo -ne "\e]12;#00FF00"'
history -a
history -r