Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for adding/removing \[ ... \] escapes #1

Closed
jwodder opened this issue Apr 13, 2018 · 0 comments
Closed

Add option for adding/removing \[ ... \] escapes #1

jwodder opened this issue Apr 13, 2018 · 0 comments

Comments

@jwodder
Copy link
Owner

jwodder commented Apr 13, 2018

Add a command line option for controlling whether to wrap ANSI escape sequences inside \[...\], which is necessary when setting PS1 in bash.

jwodder added a commit that referenced this issue Jul 22, 2020
jwodder added a commit that referenced this issue Jul 24, 2020
- [#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant