To manipulate the console title, you can make use of the following properties:
boolean- when true sets the current location as the console title
string- the title to set in the console - defaults to
string- the template to use when
"console_title_style" = "template"
folder: show the current folder name
path: show the current path
template: show a custom template
You can create a more custom console title with the use of
"console_title_style" = "template".
When this is set, a
console_title_template is also expected, otherwise, the title will remain empty.
Under the hood, this uses go's text/template feature extended with sprig and
offers a few standard properties to work with.
boolean- is the current user root/admin or not
string- the current working directory
string- the current working folder
string- the current shell name
string- the current user name
string- the host name
string- Any environment variable where
VarNameis the environment variable name
boolean can be used for conditional display purposes, a
string can be displayed.
The following examples illustrate possible contents for
the current working directory is
/usr/home/omp and the shell is