summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc@mcornella.com>2024-09-24 18:18:17 +0200
committerMarc Cornellà <marc@mcornella.com>2024-09-24 18:18:17 +0200
commit9114853500ea66cff7c803b0e951754833946f3d (patch)
treedf7c3dfa9de45e28948109c2717b415dd813b349
parent367e9381dfae65e020cb5c439818e04ae1dd9423 (diff)
downloadzsh-9114853500ea66cff7c803b0e951754833946f3d.tar.gz
zsh-9114853500ea66cff7c803b0e951754833946f3d.tar.bz2
zsh-9114853500ea66cff7c803b0e951754833946f3d.zip
fix(aussiegeek): quote color sequences
-rw-r--r--themes/aussiegeek.zsh-theme8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/aussiegeek.zsh-theme b/themes/aussiegeek.zsh-theme
index 2ded5c157..9ea6662b6 100644
--- a/themes/aussiegeek.zsh-theme
+++ b/themes/aussiegeek.zsh-theme
@@ -1,8 +1,8 @@
+PROMPT="%{${fg_bold[blue]}%}[ %{${fg[red]}%}%t %{${fg_bold[blue]}%}] %{${fg_bold[blue]}%} [ %{${fg[red]}%}%n@%m:%~\$(git_prompt_info)%{${fg[yellow]}%}\$(ruby_prompt_info)%{${fg_bold[blue]}%} ]%{$reset_color%}
+ $ "
-PROMPT='$fg_bold[blue][ $fg[red]%t $fg_bold[blue]] $fg_bold[blue] [ $fg[red]%n@%m:%~$(git_prompt_info)$fg[yellow]$(ruby_prompt_info)$fg_bold[blue] ]$reset_color
- $ '
# git theming
-ZSH_THEME_GIT_PROMPT_PREFIX="$fg_bold[green]("
-ZSH_THEME_GIT_PROMPT_SUFFIX=")"
+ZSH_THEME_GIT_PROMPT_PREFIX="%{${fg_bold[green]}%}("
+ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="✔"
ZSH_THEME_GIT_PROMPT_DIRTY="✗"