1
0
mirror of https://gitlab.com/ceda_ei/wish synced 2025-04-04 14:56:53 +02:00
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
2019-02-15 10:49:05 +00:00
2019-02-22 18:57:16 +05:30

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.

Description
No description provided
Readme 173 KiB
Languages
Shell 70.7%
Python 29.3%