Use a different prompt for the TrueNAS web shell.
This commit is contained in:
parent
6e80e57db1
commit
284e70db49
2 changed files with 196 additions and 194 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue