New theme Atomic added and reverted the theme Brainy by default

- Brainy theme reverted to original.
- add Atomic theme based on the original brainy.
- Special thanks to @MunifTanjim and @nwinkler for such excellent job.
This commit is contained in:
Luis Felipe Sánchez
2017-05-22 14:26:13 -05:00
parent f341d1e7c5
commit 23e1bb9a7b
4 changed files with 516 additions and 105 deletions

View File

@@ -2,45 +2,6 @@
Simple colorful terminal prompt theme (inspired by a number of themes).
Supported on all operating systems.
In constant maintenance and improvement
![alt text](https://www.lfsystems.xyz/img/BrainyTheme.gif)
## Install Theme
### Manually
You can install the theme manually by following these steps:
Edit your modified config `~/.bashrc` file in order to customize Bash-it, set `BASH_IT_THEME` to the theme name `brainy`.
Examples:
```bash
# Use the "brainy" theme
export BASH_IT_THEME="brainy"
```
### Automatically via terminal
1. You can install the theme automatically using the `sed` command from your Linux or OSX Terminal.
2. On macOS, the ~/.bash_profile is used, not the ~/.bashrc.
3. For installation on windows you should use [`Git-Bash`](https://git-for-windows.github.io/) or make sure the terminal emulator you use (ej: cygwin, mintty, etc) has the `sed` command installed.
Command to execute For Windows and Linux:
```bash
# Set the "brainy" theme replacing the theme you are using of bash-it
sed -i 's/'"$BASH_IT_THEME"'/brainy/g' ~/.bashrc
```
Command to execute for macOS:
```bash
# Set the "brainy" theme replacing the theme you are using of bash-it
sed -i '' 's/'"$BASH_IT_THEME"'/brainy/g' ~/.bash_profile
```
## Features
### Prompt Segments
@@ -58,7 +19,7 @@ sed -i '' 's/'"$BASH_IT_THEME"'/brainy/g' ~/.bash_profile
### Others
- Indicator for cached `sudo` credential
- Indicator for abort (ctrl + C) the current task and regain user control
- Indicator for ssh login
- `brainy` command for showing/hiding various prompt segments on-the-fly
## Configuration