Fix colours in git prompt
This commit is contained in:
parent
6af59d8799
commit
7ce7a6e87f
1 changed files with 1 additions and 1 deletions
2
zshrc
2
zshrc
|
@ -77,7 +77,7 @@ ranger_prompt() {
|
||||||
prompt='$(task_prompt)%(?.%F{green}.%F{red})λ%F{blue}$(ranger_prompt)%f '
|
prompt='$(task_prompt)%(?.%F{green}.%F{red})λ%F{blue}$(ranger_prompt)%f '
|
||||||
export PROMPT_full='$(due_soon_prompt)%B%F{magenta}%n%F{blue}@%F{magenta}%m%b %F{magenta}%~
|
export PROMPT_full='$(due_soon_prompt)%B%F{magenta}%n%F{blue}@%F{magenta}%m%b %F{magenta}%~
|
||||||
'"$prompt"
|
'"$prompt"
|
||||||
export PROMPT_gitlong='$(due_soon_prompt)$(gitprompt && echo -ne " ")%F$(git log --oneline --no-decorate -1 2>/dev/null)
|
export PROMPT_gitlong='$(due_soon_prompt)$(gitprompt && echo -ne " ")%F$(git log --color --oneline --no-decorate -1 2>/dev/null)
|
||||||
%F{cyan}$(gitpath)'"$prompt"
|
%F{cyan}$(gitpath)'"$prompt"
|
||||||
# export PS1tiny=
|
# export PS1tiny=
|
||||||
# export PS1nano=
|
# export PS1nano=
|
||||||
|
|
Loading…
Reference in a new issue