Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xontrib-prompt-starship-0.0.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

xontrib_prompt_starship-0.0.5-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file xontrib-prompt-starship-0.0.5.tar.gz.

File metadata

  • Download URL: xontrib-prompt-starship-0.0.5.tar.gz
  • Upload date:
  • Size: 3.3 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

Hashes for xontrib-prompt-starship-0.0.5.tar.gz
Algorithm Hash digest
SHA256 2b1260af87f8fbc34aa58e14a0e99eb068878467078f41ebe84b6f5fdc1b1c1b
MD5 3be8050a0bbf0c2c5ef34f9593cbf1f0
BLAKE2b-256 a43136e2f1234e0540b76add40aacd6d3743fccde4b22022dd39ac470c39a7b9

See more details on using hashes here.

File details

Details for the file xontrib_prompt_starship-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: xontrib_prompt_starship-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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

Hashes for xontrib_prompt_starship-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 37ceed59e95736f27528048ec3127b54119c18aa860da6cc80c5c09df6a9d583
MD5 027bef9aa5e6b904e5011b838842ed41
BLAKE2b-256 fac41aec9439450f0aea57ec0001235d6b05c1c9beccf3bbd1a00218cd34edf8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page