mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 07:55:51 +03:00
[GH-ISSUE #273] Colorized bash prompt ignored ($PS1) #805
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#805
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @michael-o on GitHub (Mar 12, 2018).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/273
I have a colorized bash prompt:
PS1='[\033[01;32m]\u@\h[\033[0m]:[\033[01;34m]\w[\033[0m]$ '
When starting a recording, asciinema spits out:
$ asciinema rec git-tutorial/test-session2.cast
asciinema: recording asciicast to git-tutorial/test-session2.cast
asciinema: press or type "exit" when you're done
[\033[1;32m]\u@blnn719x[\033[0m]:[\033[1;34m]/net/home/osipovmi/public_html/protected[\033[0m]$ exit
Seems like bash prompts colors aren't supported?
Running asciinema 2.0.0 via FreeBSD ports. As well as "GNU bash, Version 4.4.19(0)-release (i386-portbld-freebsd10.4)".
@michael-o commented on GitHub (Mar 12, 2018):
Seems like I am another idiot fooled by #22 and #53. While the FAQ contains this, it is not first hand clear that it applies to
PS1. Can FAQ be improved?@ku1ik commented on GitHub (Mar 12, 2018):
Yes, sure, I'll cover that in FAQ.
@michael-o commented on GitHub (Apr 20, 2020):
Resolved via FAQ.