mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[GH-ISSUE #222] asciicast v2: environment variable capture spec #779
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#779
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 @ku1ik on GitHub (Sep 4, 2017).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/222
As mentioned here https://github.com/asciinema/asciinema/pull/196#issuecomment-288148352 the set of environment variables saved by
asciinema recinenvmap should be defined/controlled.What could work is to have a white-list of env variables saved under
envkey in the recording header. It could default toSHELL,TERMand you could override it either via command line switch when recording or via config file option.Having this, if you also want to save
$USER,$HOSTNAMEand$CUSTOM_STUFFyou could set the white-list to forSHELL,TERM,USER,HOSTNAME,CUSTOM_STUFFand have all the information that's useful to you.@ku1ik commented on GitHub (Sep 16, 2017):
This has been implemented in #230 and will be released with the upcoming asciinema 2.0.