mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-01 01:31:35 +00:00
docs: mention user-specific config path on different platforms
Since #85, we load the user's config from a path under `dirs::config_dir()`. It's probably not obvious to all users where to put the file, so let's describe that. (I didn't know where to put the file on my Mac until I looked at the function's documentation.)
This commit is contained in:
parent
648cfd698c
commit
1a0b5b9c9e
1 changed files with 4 additions and 2 deletions
|
@ -148,8 +148,10 @@ $ source <(jj debug completion) # --bash is the default
|
||||||
```
|
```
|
||||||
|
|
||||||
You may also want to configure your name and email so commits are made in your
|
You may also want to configure your name and email so commits are made in your
|
||||||
name. Create a file at `${XDG_CONFIG_HOME}/jj/config.toml` or `~/.jjconfig` and
|
name. Create a file at `<config dir>/jj/config.toml` (where `<config dir>` is
|
||||||
make it look something like this:
|
`${XDG_CONFIG_HOME}` or `~/.config/` on Linux, `~/Library/Application Support/`
|
||||||
|
on macOS, and `~\AppData\Roaming\` on Windows) or `~/.jjconfig` and make it
|
||||||
|
look something like this:
|
||||||
```shell script
|
```shell script
|
||||||
$ cat ~/.jjconfig
|
$ cat ~/.jjconfig
|
||||||
[user]
|
[user]
|
||||||
|
|
Loading…
Reference in a new issue