-
Notifications
You must be signed in to change notification settings - Fork 3
Shell Module
Sam edited this page Aug 7, 2024
·
2 revisions
The shell
module displays the name of your current shell.
Insert into the modules
array.
-
title
-> (String) The module title. -
format
-> (String) The format used to display the module. Check below to see available placeholders -
show_default_shell
-> (Bool) Whether to use your default shell, opposed to your current one. -
title_color
-> (Optional/String) Override the title color to be used. -
title_bold
-> (Optional/Bool) Make the title bold. -
title_italic
-> (Optional/Bool) Make the title italic. -
separator
-> (Optional/Char) Override the separator to be used.
-
{name}
-> The name of the shell. -
{path}
-> The executable path of the shell. -
{version}
-> The version of the shell.
[shell]
title = "Shell"
format = "{name} {version}"
show_default_shell = false
modules = [
"shell"
]
[shell]
title = "Default Shell"
format = "{name}"
show_default_shell = true