----- Changes: zsh
+ Added oh-my-zsh custom stuff
This commit is contained in:
parent
24f7803f51
commit
22a6b88e14
12 changed files with 54 additions and 77 deletions
17
.local/share/oh-my-zsh/custom/themes/zi.zsh-theme
Normal file
17
.local/share/oh-my-zsh/custom/themes/zi.zsh-theme
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Load version control information
|
||||
autoload -Uz vcs_info
|
||||
precmd() { vcs_info }
|
||||
|
||||
# Format the vcs_info_msg_0_ variable
|
||||
zstyle ':vcs_info:*' enable git
|
||||
zstyle ':vcs_info:git:*' formats '%b %u%c'
|
||||
|
||||
# Prompt
|
||||
setopt PROMPT_SUBST
|
||||
PROMPT='
|
||||
$fg[white]${PWD/#$HOME/~} $fg[blue]${vcs_info_msg_0_}
|
||||
$fg[green]$> %b'
|
||||
|
||||
#Autocomplete
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#c5c8c6,bold,underline"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue