Customized colors on prompt
Moved Completion Cache from .oh-my-zsh to .zsh
This commit is contained in:
parent
8badbd28c5
commit
f158a62226
2 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,7 @@ zstyle ':completion:*:hosts' hosts $hosts
|
|||
|
||||
# Use caching so that commands like apt and dpkg complete are useable
|
||||
zstyle ':completion::complete:*' use-cache 1
|
||||
zstyle ':completion::complete:*' cache-path ~/.oh-my-zsh/cache/
|
||||
zstyle ':completion::complete:*' cache-path ~/.zsh/cache/
|
||||
|
||||
# Don't complete uninteresting users
|
||||
zstyle ':completion:*:*:*:users' ignored-patterns \
|
||||
|
|
|
@ -22,4 +22,5 @@ zstyle ':vcs_info:*' formats ':%b%c%u%f'
|
|||
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
|
||||
precmd () { vcs_info }
|
||||
|
||||
PROMPT='[%n@%m %~${vcs_info_msg_0_}] %{$reset_color%}'
|
||||
PROMPT='[%{$fg[blue]%}%n@%m%{$reset_color%} %~%{$fg[green]%}${vcs_info_msg_0_}%{$reset_color%}] %{$reset_color%}'
|
||||
# RPROMPT='%{$fg[blue]%}%n@%m%{$reset_color%}'
|
||||
|
|
Loading…
Reference in a new issue