Sitelet https://web.archive.org/web/20220507200216/https://github.com/edouard-lopez/pure-x
Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Pure travis-badge

Pretty, minimal and fast prompt for various shell.

Pure with dark colorscheme Pure with light colorscheme

Original design by sindresorhus/pure.

Goal

Support various shells as possible with only one codebase.

❤️ I'm familiar with some of them (bash, zsh, fish) but would love to have help support the other (elvish, ksh, powershell, tcsh, xonsh).

Features

Feature bash elvish fish ksh powershell tcsh xonsh zsh
Excellent prompt character ❯ ✔ ✔ ✔
Display current directory tail ✔ ✔ ✔
Display git branch name ✔ ✔ ✔
Display * when git repository is dirty ✔ ✔ ✔
Display ⇡ when branch is ahead
(commits to push)
Display ⇣ when branch is being
(commits to pull)
Change ❯ to red
when previous command has failed
✔ ✖ ✔ ✔
Update terminal title
with current folder and command
Display username and hostname
when in an SSH session
Display duration
when command run more that 5 seconds
Display Python virtualenv when activated ✔ ✔ ✔
Fine control over colors
Right prompt control
Display VI mode and custom symbol
for non-insert mode

Install

⚠️ Under heavy development, use at your own risk! 💀

requirements: git and pip.

git clone git@github.com:edouard-lopez/pure.git $HOME/.pure
pip install pure --user

Fish

fish $HOME/.pure/install/configure.fish

Zsh

zsh $HOME/.pure/install/configure.zsh

Bash

bash $HOME/.pure/install/configure.bash

Elvish

elvish $HOME/.pure/install/configure.elv

License

MIT © Édouard Lopez.