Aurora Shell replaces the default Zsh prompt with a fully dynamic rainbow gradient built from ANSI 256-color escape codes. Every character in the prompt string is individually coloured using a rolling palette, so the gradient shifts with each new line. The prompt is generated at render time by a Zsh function, which means it always reflects the current username, hostname, and time — and any changes you make toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Seaus-tech/Aurora-Shell/llms.txt
Use this file to discover all available pages before exploring further.
AURORA_ID take effect as soon as you source the theme file.
How the Rainbow Prompt Works
The rainbow gradient is produced by therainbow_prompt() function defined in the generated theme file (~/.aurora-shell_files/aurora-shell_theme). Here is the function exactly as written by the installer:
- Template expansion — the raw template
"${AURORA_ID} %n@%m %* > "is expanded withprint -Pso that%n(username),%m(hostname), and%*(current time) are substituted into a plain string before colouring begins. - Character-by-character colouring — the function iterates over every character in the expanded string. For character at index
jit picks a colour from the fixed 18-entry palette using(j % 18) + 1so the palette tiles seamlessly regardless of prompt length. - Zsh colour wrapping — each character is wrapped in
%{%F{color}%}char%{%f%}, the standard Zsh zero-width escape sequence that prevents the colour codes from counting toward line length (which would break readline cursor positioning).
Setting a Prompt ID
AURORA_ID is set during the setup wizard or by editing the settings file directly. It is prepended verbatim to the prompt template, before the username and hostname.
AURORA_ID="dev" on a machine where the user is alice and the hostname is macbook, the rendered (pre-colour) prompt string would be:
AURORA_ID empty to display only username@hostname time > with no prefix.
Windows Prompt
On Windows, the Aurora installer (install.ps1) does not generate a custom prompt function. The default PowerShell prompt remains active. The AURORA_ID variable is written to aurora-shell_settings.ps1 and is available as a PowerShell variable ($AURORA_ID) for scripts and theme customisation, but it is not automatically injected into the PowerShell prompt line.
Zsh Plugin Integration
The Aurora theme file automatically sourceszsh-syntax-highlighting and zsh-autosuggestions if they are present at the standard oh-my-zsh plugin paths. These lines are included verbatim in the generated theme (with your actual home directory substituted at install time):
git clone. If the plugin directories do not exist the source lines are silently skipped and the rainbow prompt still loads normally.