| Filename | Latest commit message | Latest commit date |
|---|---|---|
| screenshots | ||
| .gitattributes | ||
| README.md | ||
| simplex_bar.theme | ||
| simplex_tty.theme | ||
Simplex — a set of Liquid Prompt Themes
Simplex is a set of 2 themes for Liquid Prompt.
These are custom design themes I wanted to create and did so for my own uses.
Preview
simplex_tty is a theme specifically designed for simpler terminals, and even has backwards support for tty consoles.
simplex_bar is a theme designed in the idea of powerline, but with my purpley colored bar concept.
Install
Just download this repository somewhere, source the chosen theme file and activate it, all from your shell configuration file.
For example (just use ~/.zshrc instead of ~/.bashrc, if you use Zsh and not Bash):
git clone https://github.com/erenfro/lp-simplex.git
echo '# Use Liquid Prompt only if in an interactive shell
if [[ $- == *i* ]]; then
# Use Liquid Prompt
source ~/.liquidprompt
# Select the right file below, depending on the theme you want:
if [[ -f ~/lp-simplex/simplex_tty.theme ]] ; then
source ~/lp-simplex/simplex_tty.theme && lp_theme simplex_tty
fi
fi' >> ~/.bashrc
zim
Add the following to your zimrc:
zmodule liquidprompt/liquidprompt
zmodule https://git.linux-help.org/psi-jack/lp-simplex.git --source simplex_tty.theme --cmd 'lp_theme simplex_tty'
Restart your shell, then:
zimfw install
Rationale
I simply wanted a functional, purple colored shell prompt that both looked nice and had basic functionality I wanted. VCS support, runtime detection, exit-code detection, and nice.
Simplex_TTY theme
Customization options for this theme are as follows:
| Option | Default | Description |
|---|---|---|
| LP_RUNTIME_THRESHOLD | 5 | Sets the runtime execution duration before showing the runtime value. |
| LP_SIMPLEX_TTY_EXTENDED_VCS | 0 | Shows extended VCS information, Default is to show minimum details. |
| LP_ENABLE_TIME | 1 | Shows/Hides Time on prompt. |
| LP_TIME_FORMAT | %H:%M | Sets time format for clock in zsh time syntax. |
| LP_ENABLE_RUNTIME | 1 | Enables/Disables runtime prompt option. |
| LP_ENABLE_ERROR | 1 | Enables/Disables exit-code prompt option. |
| LP_ENABLE_JOBS | 1 | Enables/Disables jobs prompt option. |
Simplex_BAR theme
Customization options for this theme are as follows:
| Option | Default | Description |
|---|---|---|
| LP_RUNTIME_THRESHOLD | 5 | Sets the runtime execution duration before showing the runtime value. |
| LP_SIMPLEX_BAR_EXTENDED_VCS | 0 | Shows extended VCS information, Default is to show minimum details. |
| LP_ENABLE_TIME | 1 | Shows/Hides Time on prompt. |
| LP_TIME_FORMAT | %H:%M | Sets time format for clock in zsh time syntax. |
| LP_ENABLE_RUNTIME | 1 | Enables/Disables runtime prompt option. |
| LP_ENABLE_ERROR | 1 | Enables/Disables exit-code prompt option. |
| LP_ENABLE_JOBS | 1 | Enables/Disables jobs prompt option. |



