ps1.py

Yet another bash/zsh custom prompt script

MIT License

Downloads
109
Stars
5

Bot releases are visible (Hide)

ps1.py - v0.7.2 — Fix crash when `$MAIL` is set but file is empty Latest Release

Published by jwodder 3 months ago

ps1.py - v0.7.1 — Fix support for custom venv prompt prefixes

Published by jwodder 5 months ago

ps1.py - v0.7.0 — Dark & light themes

Published by jwodder 5 months ago

  • The branch name/HEAD description is now truncated if it gets too long.
  • Add --theme option for selecting between dark and light themes
  • Add --no-hostname option
  • Drop support for Python 3.8
ps1.py - v0.6.0 — Package for PyPI

Published by jwodder 5 months ago

  • Always open text files in UTF-8
  • If Git is not installed, the Git integration will now be automatically disabled instead of raising an error
  • Require Python 3.8+
  • Now available as a package on PyPI
ps1.py - v0.5.0 — Git status timeout

Published by jwodder over 2 years ago

  • Add a --git-timeout option for disabling the Git integration if git status takes too long to run
ps1.py - v0.4.0 — Support custom virtualenv prompt prefixes

Published by jwodder over 2 years ago

ps1.py - v0.3.0 — Support Conda environment prompt prefixes

Published by jwodder about 3 years ago

ps1.py - v0.2.2 — Fix a crash

Published by jwodder over 3 years ago

  • When inside a .git directory, treat it like a bare repository, thereby fixing a crash
ps1.py - v0.2.1 — Fix Python 3.5 support

Published by jwodder over 3 years ago

  • Remove some Python 3.6 syntax that snuck in
ps1.py - Version 0.2.0 — Zsh support

Published by jwodder about 4 years ago

  • [#1] Added an --ansi option for outputting raw escape sequences without Bash's \[ ... \] wrappers
  • [#2] When outputting for Bash, backslashes in strings are now escaped
  • Added version, author, etc. variables to the top of the file
  • Added a --version option
  • Added support for zsh
  • Added a -G, --git-only option for only outputting the Git status string
ps1.py - v0.1.0 — Initial release/announcement

Published by jwodder about 4 years ago