commands.sh

jj config

all

Manage config options. Some subcommands such as `edit`, `get`, `list`, `path`, `set`, `unset` have their own usage documentation.

More info →

Options (6)

boolean

Start an editor on the user-level config file

Example: jj config {{[e|edit]}} --user
boolean

Get the value of a config option

Example: jj config {{[g|get]}} {{name}}
boolean

List all config variables and their values

Example: jj config {{[l|list]}}
boolean

Print the path to the user-level config file

Example: jj config {{[p|path]}} --user
boolean

Set a config option in the user-level config

Example: jj config {{[s|set]}} --user {{name}} {{value}}
boolean

Unset a config option in the user-level config

Example: jj config {{[u|unset]}} --user {{name}}

Examples (6)

Start an editor on the user-level config file

jj config [e|edit] --user

Get the value of a config option

jj config [g|get] name

List all config variables and their values

jj config [l|list]

Print the path to the user-level config file

jj config [p|path] --user

Set a config option in the user-level config

jj config [s|set] --user name value

Unset a config option in the user-level config

jj config [u|unset] --user name
made by @shridhargupta | data from tldr-pages