mirror of
https://github.com/jbranchaud/til
synced 2026-01-10 02:28:02 +00:00
Add Find System-wide Config File For User as a jj TIL
This commit is contained in:
25
jj/find-system-wide-config-file-for-user.md
Normal file
25
jj/find-system-wide-config-file-for-user.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Find System-wide Config File For User
|
||||
|
||||
The `jj` CLI can be configured in a couple different places. When I recently
|
||||
ran a `jj config` command, I was curious where specifically it was getting set.
|
||||
Those changes didn't appear in the repo's config (`./.jj/repo/config.toml`).
|
||||
That makes sense since it would only apply to that repo. So, where is the
|
||||
system-wide config file?
|
||||
|
||||
The following commond shows where on your machine it is located.
|
||||
|
||||
```bash
|
||||
$ jj config path --user
|
||||
/Users/jbranchaud/Library/Application Support/jj/config.toml
|
||||
```
|
||||
|
||||
Now, the next time I set a config like this:
|
||||
|
||||
```bash
|
||||
$ jj config set --user ui.paginate never
|
||||
```
|
||||
|
||||
or want to check what other config options are set to, I can visit that path
|
||||
and take a look.
|
||||
|
||||
[source](https://github.com/martinvonz/jj/blob/main/docs/config.md)
|
||||
Reference in New Issue
Block a user