mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[PR #102] [MERGED] Add environment variable ASCIINEMA_CONFIG_HOME for customizing path to the config dir #999
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#999
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?
📋 Pull Request Information
Original PR: https://github.com/asciinema/asciinema/pull/102
Author: @zmwangx
Created: 5/23/2015
Status: ✅ Merged
Merged: 5/23/2015
Merged by: @ku1ik
Base:
master← Head:asciinema-config-patch📝 Commits (1)
fd38b0fcheck a list of locations for the config file📊 Changes
1 file changed (+27 additions, -6 deletions)
View changed files
📝
util/cfg.go(+27 -6)📄 Description
Currently the config path
$HOME/.asciinema/configis hard-coded, which is not so cool for users who keep all their config stuff in$HOME/.configfor a cleanerHOMEand easier backup (following the XDG Base Directory Specification). Therefore, I'm introducing anASCIINEMA_CONFIGenvironment variable in this PR to let users keep their config files wherever they want. (Personally I would set it to$HOME/.config/asciinema/config.)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.