sharkdp/numbat

Follow XDG dirs if set on macos

Open

#744 opened on Jun 20, 2025

View on GitHub
 (1 comment) (2 reactions) (0 assignees)Rust (103 forks)github user discovery
applicationgood first issue

Repository metrics

Stars
 (2,569 stars)
PR merge metrics
 (PR metrics pending)

Description

If XDG_CONFIG_HOME, or XDG_DATA_HOME are set, then use those dirs for config, and history, just like on linux. The current dirs are technically correct for macos, but many command lines tools prefer these if set, and it keeps a nice separation between gui/ and cross platform cmd apps. Also tools like pearcleaner flag the files as 'orphaned' as they can't match it to an installed App/.

Contributor guide