Skip to content

Commit 409da62

Browse files
committed
update paths for nicrc
1 parent 5046a5b commit 409da62

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/NIC.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,12 @@ The templates included in this legacy templates module:
9898
* **xpc_service**: a C-based [XPC](https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingXPCServices.html) service.
9999

100100
## .nicrc
101-
NIC reads configuration data from `~/.nicrc`. This file uses a simple key-value format, `key = "value"`. Values must be enclosed in quotes, even if it is a number.
101+
NIC configuration data can be stored in a config file to pre-fill values for templates. A simple key-value format is used: `key = "value"`. Values must be enclosed in quotes, even if it is a number.
102+
103+
The first matching file is sourced:
104+
1. `$(XDG_CONFIG_HOME)/theos/nicrc`
105+
2. `$(HOME)/.config/theos/nicrc`
106+
3. `$(HOME)/.nicrc`
102107

103108
### Instance Metadata
104109
* **`package_prefix`** *string*. The prefix to use by default for reverse DNS package identifiers. The default is `com.yourcompany`. For example, setting `package_prefix = "ws.hbang"` and creating a new project called "Example Instance" will make the default package identifier `ws.hbang.exampleinstance`.

0 commit comments

Comments
 (0)