You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1
Original file line number
Diff line number
Diff line change
@@ -207,6 +207,12 @@ to get the hang of things.
207
207
208
208
## Configuration
209
209
210
+
configuration conssist of two file:
211
+
- zulip_key, file contains the api_key
212
+
- zuliprc, file consist of login configurations
213
+
214
+
The `zulip_key`contains only the api_key.
215
+
210
216
The `zuliprc` file contains two sections:
211
217
- an `[api]` section with information required to connect to your Zulip server
212
218
- a `[zterm]` section with configuration specific to `zulip-term`
@@ -216,13 +222,15 @@ A file with only the first section can be auto-generated in some cases by
216
222
above). Parts of the second section can be added and adjusted in stages when
217
223
you wish to customize the behavior of `zulip-term`.
218
224
225
+
If you’re downloading the config file from your Zulip account, you should replace the `key` field with `passcmd`, setting its value to a command that outputs the api_key (e.g., cat zulip_key). If you’re not downloading it manually, zulip-term will configure this for you automatically, though it’s recommended to update the passcmd value afterward for better security.
226
+
219
227
The example below, with dummy `[api]` section contents, represents a working
220
228
configuration file with all the default compatible `[zterm]` values uncommented
221
229
and with accompanying notes:
222
230
```
223
231
[api]
224
232
email=example@example.com
225
-
key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
233
+
passcmd=cat zulip_key
226
234
site=https://example.zulipchat.com
227
235
228
236
[zterm]
@@ -257,6 +265,7 @@ transparency=disabled
257
265
# editor: nano
258
266
```
259
267
268
+
260
269
> **NOTE:** Most of these configuration settings may be specified on the
261
270
command line when `zulip-term` is started; `zulip-term -h` or `zulip-term --help`
0 commit comments