ohmyzsh/lib/powerline/colors.zsh
2015-02-22 19:58:35 +01:00

17 lines
385 B
Bash

# vim:
hn="$(hostname -s)"
# if we have a color set defined for that host, load it
if [[ -f "$ZSH/lib/powerline/$hn" ]]; then
. "$ZSH/lib/powerline/$hn"
else
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]}"
fi