Skip to content
HN On Hacker News ↗

config folder is out of place on Linux

▲ 56 points 21 comments by joooscha 7d ago HN discussion ↗

Pangram verdict · v3.3

We believe that this entire text is human-written.

9 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 93
PEAK AI % 9% · §1
Analyzed
Aug 17
backend: pangram/v3.3
Segments scanned
1 windows
avg 93 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 93 words · 1 segments analyzed

Human AI-generated
§1 Human · 9%

Hi there! (thank you for the great work and articles on coding agents, very inspiring) I'm using pi on Linux, and noticed that the config folder is located directly within the user's $HOME directory. On Linux, modern tools should follow the XDG Base Directory Spec to avoid cluttering the home root. The TL;DR of that spec is basically: To generate the config directory prefix, check for PI_CONFIG_DIR first, then XDG_CONFIG_HOME. If neither is set, use the OS default: Windows: %APPDATA% macOS: $HOME Linux/BSD: $HOME/.config The full config directory path would then be <prefix>/pi.