Pure 
Pretty, minimal and fast prompt for various shell.
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).
Features
| Feature | bash |
elvish |
fish |
ksh |
powershell |
tcsh |
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.
Metadata
Release files for pure 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pure-2.0.0.tar.gz | 4.2 kB | Without provenance | Details for pure-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pure-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for pure-2.0.0-py3-none-any.whl |
Total release size: 10.1 kB
Release files / pure-2.0.0.tar.gz
| Download URL | pure-2.0.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3241fb6e12c67d8d33e702e711a3ccc89528208cfff085c048515a8333b7254c
|
|
BLAKE2b-256 checksum How to use checksums |
148553f7b09e3924561e67a345ccd06e5daead0a87c760fd6346526d6087867c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / pure-2.0.0-py3-none-any.whl
| Download URL | pure-2.0.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be279c08bc65fa53f2c56c9ae81d5aabbb4501312cb591750625c1d32d455c7e
|
|
BLAKE2b-256 checksum How to use checksums |
38c504b86bef6cef27e861237e7db5103a63a767412dfb1e34d8adf84933560e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Security for pure 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.