Fix colours

This commit is contained in:
2025-04-03 14:57:24 +01:00
parent c9fc47670d
commit d738026c2e
2 changed files with 2 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ function git_current_branch {
}
# %B (%b) for bold | %c shows the top directory
PS1='%B%(?:%{$fg[green]%} :%{$fg[red]%} )%{$fg[magenta]%}%c $(git_prompt_info)%b'
PS1='%B%(?:%F{green} :%F{red} )%F{magenta}%c $(git_prompt_info)%f%b '
RPS1='%{$fg[blue]%}$(git_current_branch)'
setopt autocd # Automatically cd into typed directory.