-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Use xdg paths for config/history (on macos) #893
Description
I noticed the use of app_dirs in the config handling which appears to use $HOME/Library/Application Support/nu, which is very much not what I'd want for non-gui applications. Most cli tools seem to overwhelmingly (annoyingly) shove stuff into $HOME/., or (happily) support XDG (on both linux and macos).
As someone who commits their dotfiles, and would love to eventually use this as my default shell, I would really like for it to be ergonomic to commit any nushell config. Use of the XDG paths makes that ideal, as I can commit the entire ~/.config folder rather than use a tool to maintain symlinks.
I honestly care much less about the history as I wouldn't be committing it, but at that point, it would be nice if that were also saved in the normal xdg_(i guess data?)_home folder.