mirror of
https://github.com/jbranchaud/til
synced 2026-01-04 23:58:01 +00:00
Add Find System-wide Config File For User as a jj TIL
This commit is contained in:
@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
|
|||||||
|
|
||||||
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
|
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
|
||||||
|
|
||||||
_1521 TILs and counting..._
|
_1522 TILs and counting..._
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -573,6 +573,7 @@ _1521 TILs and counting..._
|
|||||||
### jj
|
### jj
|
||||||
|
|
||||||
- [Colocate jj And git Directories For Project](jj/colocate-jj-and-git-directories-for-project.md)
|
- [Colocate jj And git Directories For Project](jj/colocate-jj-and-git-directories-for-project.md)
|
||||||
|
- [Find System-wide Config File For User](jj/find-system-wide-config-file-for-user.md)
|
||||||
|
|
||||||
### jq
|
### jq
|
||||||
|
|
||||||
|
|||||||
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