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:
@@ -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
|
||||
|
||||

|
||||
|
||||
## 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
|
||||
|
||||
Reference in New Issue
Block a user