Fix the prompt colour
This commit is contained in:
@@ -35,7 +35,7 @@ function git_current_branch {
|
|||||||
|
|
||||||
# %B (%b) for bold | %c shows the top directory
|
# %B (%b) for bold | %c shows the top directory
|
||||||
PS1='%B%(?:%F{green} :%F{red} )%F{magenta}%c $(git_prompt_info)%f%b '
|
PS1='%B%(?:%F{green} :%F{red} )%F{magenta}%c $(git_prompt_info)%f%b '
|
||||||
RPS1='%{$fg[blue]%}$(git_current_branch)'
|
RPS1='%{$fg[blue]%}$(git_current_branch)%f'
|
||||||
|
|
||||||
setopt autocd # Automatically cd into typed directory.
|
setopt autocd # Automatically cd into typed directory.
|
||||||
stty stop undef # Disable ctrl-s to freeze terminal.
|
stty stop undef # Disable ctrl-s to freeze terminal.
|
||||||
|
|||||||
Reference in New Issue
Block a user