Merge pull request #931 from nwinkler/theme-readme
More documentation for Theme locationpull/872/head^2
commit
f3d229e5cb
18
README.md
18
README.md
|
|
@ -140,18 +140,28 @@ For custom scripts, and aliases, just create the following files (they'll be ign
|
|||
|
||||
Anything in the custom directory will be ignored, with the exception of `custom/example.bash`.
|
||||
|
||||
Alternately, if you would like to keep your custom scripts under version control, you can set BASH_IT_CUSTOM in your `~/.bashrc` to another location outside of the `~/.bash_it` folder.
|
||||
Alternately, if you would like to keep your custom scripts under version control, you can set `BASH_IT_CUSTOM` in your `~/.bashrc` to another location outside of the `~/.bash_it` folder.
|
||||
|
||||
## Themes
|
||||
|
||||
There are over 50+ Bash-it themes to pick from in `.bash_it/themes`. The default theme is `bobby`. Set `BASH_IT_THEME` to the theme name you want, or if you've developed your own custom theme outside of `.bash_it/themes` point directly to the theme file.
|
||||
There are over 50+ Bash-it themes to pick from in `.bash_it/themes`. The default theme is `bobby`. Set `BASH_IT_THEME` to the theme name you want, or if you've developed your own custom theme outside of `.bash_it/themes`, point the `BASH_IT_THEME` variable directly to the theme file.
|
||||
|
||||
Examples:
|
||||
|
||||
```bash
|
||||
# Use the "powerline-multiline" theme
|
||||
export BASH_IT_THEME="powerline-multiline"
|
||||
|
||||
# Use a theme outside of the Bash-it folder
|
||||
export BASH_IT_THEME="/home/foo/my_theme/my_theme.theme.bash"
|
||||
```
|
||||
|
||||
You can easily preview the themes in your own shell using `BASH_PREVIEW=true reload`.
|
||||
|
||||
If you've created your own custom prompts, I'd love it if you shared with everyone else! Just submit a Pull Request.
|
||||
If you've created your own custom prompts, we'd love it if you shared with everyone else! Just submit a Pull Request.
|
||||
You can see theme screenshots on [wiki/Themes](https://github.com/Bash-it/bash-it/wiki/Themes).
|
||||
|
||||
**NOTE**: Bash-it and some themes use UTF-8 characters, so to avoid extrange behaviors in your terminal, set your locale to `LC_ALL=en_US.UTF-8` or the equivalent to your language if isn't American English.
|
||||
**NOTE**: Bash-it and some themes use UTF-8 characters, so to avoid strange behavior in your terminal, set your locale to `LC_ALL=en_US.UTF-8` or the equivalent to your language if isn't American English.
|
||||
|
||||
## Uninstalling
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue