Go to file
Ceda EI 5828900a92 [Feature] Add multiline support for right prompt
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.
2019-12-24 19:52:15 +05:30
plugins Update plugins to new specification for wish_append 2019-12-15 22:01:29 +05:30
themes Update rgb_gradient to support right prompt. 2019-12-15 22:00:37 +05:30
LICENSE Add LICENSE 2019-02-15 10:49:05 +00:00
README.md Update README 2019-02-22 18:57:16 +05:30
install.sh Use git if it exists in install script 2019-05-15 13:25:33 +05:30
wish.sh [Feature] Add multiline support for right prompt 2019-12-24 19:52:15 +05:30

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

Wiki

Check the wiki for details about customization and plugins.