]> arthur.barton.de Git - ax-zsh.git/blob - core/90_theme/90_theme.zshrc
Include the theme into the global context
[ax-zsh.git] / core / 90_theme / 90_theme.zshrc
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # 90_theme.zshrc: Load AX-ZSH theme
3
4 # Don't load any "enhanced" theme on dumb terminals, but instead use a very
5 # simple and sane built-in prompt that should work "everywhere". And try to
6 # make sure that nothing else "disturbs" such terminals ...
7 if axzsh_is_dumb_terminal; then
8         unset AXZSH_THEME
9
10         # Set simple prompt:
11         PS1="%n@%m:%3~ %# "
12         unset RPS1
13
14         # See <https://github.com/syl20bnr/spacemacs/issues/3035>
15         unset zle_bracketed_paste
16 fi
17
18 # NOTE: The theme itself is read in by the ax.zsh script itself: last and into
19 # the global context (code for the cache file is generated as required).