mirror of https://gitlab.com/ceda_ei/wish
Ceda EI
5828900a92
WISH_RPL (i.e. Right Prompt Lengths), WISH_RIGHT_PS1 are now arrays. WISH_RPLINE tracks the current line. wish_append_right is called by wish_append to add to WISH_RIGHT_PS1. If wish_append is called with \n as text, WISH_RPLINE is incremented. (Current limitation: \n can't be part of any other string passed to wish_append). Right prompt is now printed using wish_print_right_prompt which iterates over WISH_RPL and WISH_RIGHT_PS1. Right prompt size is also calculated in wish_append_right now. |
||
---|---|---|
plugins | ||
themes | ||
LICENSE | ||
README.md | ||
install.sh | ||
wish.sh |
README.md
Wish
A customizable bash prompt.
Installation
One step Installation
curl https://gitlab.com/ceda_ei/wish/raw/master/install.sh | bash
Manual Installation
cd ~/.config/
git clone https://gitlab.com/ceda_ei/wish.git
- Add the following lines to ~/.bashrc
WISH_PLUGINS=(exit_code_smiley bg_jobs date path newline vcs)
WISH_THEME=plain
source ~/.config/wish/wish.sh