readme minor

pull/891/head
Tim Noise 2017-01-27 18:08:06 +11:00
parent 4ea5b21bb3
commit b92cedda87
1 changed files with 8 additions and 9 deletions

View File

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