mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 17:35:55 +03:00
[GH-ISSUE #65] Request: support XDG_CONFIG_HOME #16
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#16
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 @baodrate on GitHub (Mar 9, 2022).
Original GitHub issue: https://github.com/aome510/hackernews-TUI/issues/65
Feature request: support the XDG Base Directory specification by checking
$XDG_CONFIG_HOME/hackernews_tui/hn-tui.tomlfirst, and then falling back to the~/.configif it doesn't exist.@aome510 commented on GitHub (Mar 29, 2022):
Hi @qubidt. Sorry for the delay. I made the change in
github.com/aome510/hackernews-TUI@f99380ed30.A new file finding logic is indicated in here.
In short,
hackernews-tuiwill look into$XDG_CONFIG_HOME/hn-tui.tomlthen fall back to$HOME/.config/hn-tui.toml. If that doesn't work, you can specify a custom path with-cor--config.@baodrate commented on GitHub (Mar 29, 2022):
🙌 awesome! seems to work correctly, thank you