mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
add host files for powerline colors
This commit is contained in:
parent
d4616868e6
commit
578c4d5ab1
4 changed files with 4 additions and 11 deletions
|
|
@ -1,8 +0,0 @@
|
|||
colours=(22 71 152 32)
|
||||
|
||||
# set colours from array:
|
||||
prompt_context_user_fg="${colours[1]}"
|
||||
prompt_context_user_bg="${colours[2]}"
|
||||
prompt_context_root_fg="${colours[3]}"
|
||||
prompt_context_root_bg="${colours[4]}"
|
||||
|
||||
|
|
@ -18,7 +18,7 @@ SEGMENT_SEPARATOR=''
|
|||
RSEGMENT_SEPARATOR=''
|
||||
|
||||
# use custom colours:
|
||||
source "$ZSH"/lib/powerlinecolours
|
||||
source "$ZSH"/lib/powerline/colors.zsh
|
||||
|
||||
# Begin left side segment
|
||||
# Takes two arguments, background and foreground. Both can be omitted,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ SEGMENT_SEPARATOR=''
|
|||
RSEGMENT_SEPARATOR=''
|
||||
|
||||
# use custom colours:
|
||||
source "$ZSH"/lib/powerlinecolours
|
||||
source "$ZSH"/lib/powerline/colors.zsh
|
||||
|
||||
# Begin left side segment
|
||||
# Takes two arguments, background and foreground. Both can be omitted,
|
||||
|
|
|
|||
3
zshrc
3
zshrc
|
|
@ -5,7 +5,8 @@ ZSH="$HOME/.zsh"
|
|||
|
||||
# export ZSH_THEME="random"
|
||||
# export ZSH_THEME="ezzsh" # name of zsh theme
|
||||
export ZSH_THEME="powerline" # name of zsh theme
|
||||
# export ZSH_THEME="powerline" # name of zsh theme
|
||||
export ZSH_THEME="powerline-with-hostname" # name of zsh theme
|
||||
|
||||
# Set this to true to use case-sensitive completion
|
||||
CASE_SENSITIVE="false" # bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue