Skip to content

Commit 7fc8f8f

Browse files
committed
Version 0.2.0 — Zsh support
- [#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
1 parent d541939 commit 7fc8f8f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
v0.2.0 (in development)
2-
-----------------------
1+
v0.2.0 (2020-07-24)
2+
-------------------
33
- [#1] Added an `--ansi` option for outputting raw escape sequences without
44
Bash's `\[ ... \]` wrappers
55
- [#2] When outputting for Bash, backslashes in strings are now escaped

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017-2018 John Thorvald Wodder II
3+
Copyright (c) 2017-2018, 2020 John Thorvald Wodder II
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

ps1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Visit <https://github.com/jwodder/ps1.py> for more information.
2121
2222
23-
Installation & Usage
23+
Installation & Setup
2424
====================
2525
2626
1. Save this script to your computer somewhere (I put my copy at
@@ -57,7 +57,7 @@
5757
by running ``PS1_GIT=off`` on the command line.
5858
"""
5959

60-
__version__ = '0.2.0.dev1'
60+
__version__ = '0.2.0'
6161
__author__ = 'John T. Wodder II'
6262
__author_email__ = 'ps1@varonathe.org'
6363
__license__ = 'MIT'

0 commit comments

Comments
 (0)