Starship prompt in xonsh shell.
Project description
Starship cross-shell prompt in xonsh shell.
If you like the idea click ⭐ on the repo and tweet.
Installation
To install use pip:
xpip install xontrib-prompt-starship
# or: xpip install -U git+https://github.com/anki-code/xontrib-prompt-starship
Usage
xontrib load prompt_starship
Recommendation
We suggest to use @
character to remember about you're using xonsh syntax and to potentially spread the word about xonsh if you make a screenshot or show your terminal to friends or collegues. Add this to your ~/.config/starship.toml
:
[character]
success_symbol = "[@](bold green)"
error_symbol = "[@](bold red)"
If you're using Starship for both for another shell and for xonsh and you want to have different characters you can just put the lines above to the new ~/.config/starship_xonsh.toml
file. Then you should add to the ~/.xonshrc
file the line $STARSHIP_CONFIG = '~/.config/starship_xonsh.toml'
before xontrib load prompt_starship
.
Credits
This package was created with xontrib cookiecutter template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xontrib-prompt-starship-0.0.4.tar.gz
.
File metadata
- Download URL: xontrib-prompt-starship-0.0.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 321f28ebc0942451f91757de40e03380424d11644a0d396b35eb276ecf5a1c12 |
|
MD5 | dc3f1fecbc48d24e7b82a8769850bc69 |
|
BLAKE2b-256 | dcb67b06150ddd57f3a40d49a56d68783f2558810b5237ab777ed70403df7524 |
File details
Details for the file xontrib_prompt_starship-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: xontrib_prompt_starship-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7af1b514452a0b3cb5b6ab6d96e36ca580aa3b20df52832623d1ce0d3d3c817 |
|
MD5 | 6c5b6f824b8ba356ab6d9a2052805f85 |
|
BLAKE2b-256 | 911ab51f863eac9d59af2f3847a11c05d0ebe7ce9319a001c74800ee1f98904c |