mirror of
https://gitlab.com/ceda_ei/wish
synced 2025-04-04 15:06:51 +02:00
Set WISH_RIGHT_PLUGINS to be displayed on right. wish_append is stateful now. Appends to WISH_RIGHT_PS1 or WISH_LEFT_PS1 based on WISH_STATE. wish_append also calculates the length of right prompt. This has the downside that right prompt can't include any text that expands on PS1. Therefore, a limitation needs to be applied on plugins to only append text that won't be expanded in PS1. (i.e. no \u, \h, \w, \W, etc).
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
Description
Languages
Shell
70.7%
Python
29.3%