Added redline theme, based on powerline

This commit is contained in:
Tim Noise
2017-01-27 17:55:25 +11:00
parent 3a9c65d541
commit 4ea5b21bb3
3 changed files with 264 additions and 0 deletions

41
themes/redline/README.md Normal file
View File

@@ -0,0 +1,41 @@
# Redline Theme
changed up the powerline base a little.
it plays nicest with this font: [DroidSansMonoForPowerline](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/DroidSansMono)
# added
* hostname
* sudo prompt
* distro logo
# changed
* sudo credential check
* required font
* some icons
Works real good like with:
```bash
# set the theme
export BASH_IT_THEME='redline'
# Set this to false to turn off version control status checking within the prompt for all themes
export SCM_CHECK=true
# Set Xterm/screen/Tmux title with only a short hostname.
export SHORT_HOSTNAME=$(hostname -s)
# enable sudo prompt
export POWERLINE_PROMPT_USER_INFO_MODE="sudo"
# prompt part string
export POWERLINE_PROMPT="python_venv user_info hostname cwd scm"
```
enable your distro logo with
```bash
export POWERLINE_PROMPT_DISTRO_LOGO="yes"
```
Read the (powerline theme documentation)[../powerline/README.md]