Skip to content

Instantly share code, notes, and snippets.

@dzamlo
Last active March 29, 2018 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dzamlo/0584a89e0d583eb0aa31c919e6148075 to your computer and use it in GitHub Desktop.
Save dzamlo/0584a89e0d583eb0aa31c919e6148075 to your computer and use it in GitHub Desktop.
# Configration for https://github.com/dzamlo/pureline
colors[Orange]='\[\e[38;5;208m\]' # 256 Col Orange Foreground
colors[On_Orange]='\[\e[48;5;208m\]' # 256 Col Orange Background
colors[DarkGrey]='\[\e[38;5;237m\]' # 256 Col Dark Grey Foreground
colors[On_DarkGrey]='\[\e[48;5;237m\]' # 256 Col Dark Grey Background
colors[Blue]='\[\e[38;5;21m\]' # 256 Col Blue Foreground
colors[On_Blue]='\[\e[48;5;21m\]' # 256 Col Blue Background
colors[Red]='\[\e[38;5;1m\]' # 256 Col Red Foreground
colors[On_Red]='\[\e[48;5;1m\]' # 256 Col Red Background
colors[Pink]='\[\e[38;5;13m\]' # 256 Col Pink Foreground
colors[On_Pink]='\[\e[48;5;13m\]' # 256 Col Pink Background
declare -a pureline_modules=(
# Name Background Foreground Option
'user_module DarkGrey White true' # show hostname
'git_module DarkGrey White Orange' # show branch name in orange if dirty
'git_stash_module DarkGrey Orange'
'git_ahead_behind_module DarkGrey Orange'
'virtual_env_module Blue White'
'path_module DarkGrey White 3'
'read_only_module Red White'
'jobs_module Pink Black'
'return_code_module Red White'
'prompt_module DarkGrey White'
)
if [ "$TERM" = "linux" -o "$TERM" = "screen" ]
then
symbols[hard_separator]=""
symbols[soft_separator]="|"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment