diff --git a/lib/powerlinecolours b/lib/powerlinecolours deleted file mode 100644 index 81f17f851..000000000 --- a/lib/powerlinecolours +++ /dev/null @@ -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]}" - diff --git a/themes/powerline-with-hostname.zsh-theme b/themes/powerline-with-hostname.zsh-theme index 6b46743b4..850f0568d 100644 --- a/themes/powerline-with-hostname.zsh-theme +++ b/themes/powerline-with-hostname.zsh-theme @@ -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, diff --git a/themes/powerline.zsh-theme b/themes/powerline.zsh-theme index 860eb7a74..b25399eb1 100644 --- a/themes/powerline.zsh-theme +++ b/themes/powerline.zsh-theme @@ -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, diff --git a/zshrc b/zshrc index 3752c50e5..a28742041 100644 --- a/zshrc +++ b/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