]> arthur.barton.de Git - ax-zsh.git/blob - themes/ax.axzshtheme
d67af84b047449fa1317b160416b4e83be625041
[ax-zsh.git] / themes / ax.axzshtheme
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # ax.axzshtheme: Default AX-ZSH Theme
3
4 ZSH_THEME_VCS_PROMPT_PREFIX_SPACING="("
5
6 ZSH_THEME_PROMPT_PREFIX_SPACING=" "
7 ZSH_THEME_PROMPT_PREFIX="%{$fg_no_bold[green]%}%B"
8 ZSH_THEME_PROMPT_ROOT_PREFIX="%{$fg_no_bold[red]%}%B"
9 ZSH_THEME_PROMPT_SUFFIX="%b%{$reset_color%}"
10 ZSH_THEME_PROMPT_SUFFIX_SPACING=" "
11
12 ax_logname_prompt_functions=($ax_logname_prompt_functions ax_logname_prompt_root)
13 ax_hostname_prompt_functions=($ax_hostname_prompt_functions ax_hostname_prompt_root)
14
15 # Default prompt
16 PS1="$(ax_logname_prompt_yn)$(ax_hostname_prompt_yn)%B%2~%b"'$(ax_vcs_prompt)'"$(ax_prompt)"
17
18 # Prompt on right side
19 RPS1="%(?..%{$fg_no_bold[red]%}%? ↵%{$reset_color%})"
20
21 # Execution trace prompt.
22 PS4="$fg_no_bold[yellow]->$reset_color "
23 # This prompt is compatible with sh(1) and bash(1), too, so export it!
24 export PS4