-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directories on macOS #151
Comments
If using Related discussion: https://github.com/rust-lang-nursery/cli-wg/issues/7 |
@ahti I don't know if directories supports it or not, but it theoretically could support XDG paths when you set all those XDG variables on MacOS. For now, just make a symlink:
|
I'm going to close this ticket for now, as it seems to me that (1) we are actually following the standard guidelines for macOS and (2) there is an easy workaround. I'm happy to re-open this ticket if there is a strong support to change this. |
On macOS, config files (themes, syntaxes) currently need to be placed in
~/Library/Preferences/bat
. While this is where macOS GUI applications store their preferences, I have not seen many (or any? I'm not sure) command line tools that use~/Library/Preferences
. Looking at my home folder, cli tools seem to, generally, use either dotfiles in home or~/.config
.I'd prefer if bat searched for config files in
~/.config/bat
on macOS just like on Linux. While it may not be the "correct" way to choose directories on macOS, it seems to be convention and would make things like sharing a dotfiles repo between Linux and macOS much more convenient.The text was updated successfully, but these errors were encountered: