aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0a69575..dc3c5d9 100644
--- a/README.md
+++ b/README.md
@@ -96,10 +96,11 @@ Say you delete gists with command `gist delete <index-of-gist>...`, the local gi
96## Configuration 96## Configuration
97`gist` stores your configuraion inside `~/.config/gist.conf`, with `<key>=<value>` format for each line. And just do `source ~/.config/gist.conf` at runtime. 97`gist` stores your configuraion inside `~/.config/gist.conf`, with `<key>=<value>` format for each line. And just do `source ~/.config/gist.conf` at runtime.
98 98
99This file is created automatically when you use `gist` at the first time, it only allows current user to read and write (permission 600). 99`~/.config/gist.conf` is created automatically when you run `gist` at the first time, it only allows current user to read and write (permission 600).
100 100
101Valid keys are [`user`](#user), [`token`](#token), [`folder`](#folder), [`auto_sync`](#auto_sync), [`action`](#action), [`EDITOR`](#EDITOR) and [`protocol`](#protocol). Use the following commands to set value: 101Valid keys are [`user`](#user), [`token`](#token), [`folder`](#folder), [`auto_sync`](#auto_sync), [`action`](#action), [`EDITOR`](#EDITOR) and [`protocol`](#protocol). Use the following commands to set value:
102``` bash 102``` bash
103# Set key with a given value
103gist config <key> <value> 104gist config <key> <value>
104 105
105# Remove current value from a key 106# Remove current value from a key
@@ -157,7 +158,7 @@ Also, if you run `gist <INDEX>` with `--no-action`, then action would be ignored
157For example, use `gist config EDITOR code` to use VSCode instead. 158For example, use `gist config EDITOR code` to use VSCode instead.
158 159
159### protocol 160### protocol
160**[Optional]** Protocol to clone git repo. Default to HTTPS 161**[Optional]** Protocol to clone git repo. Default to `HTTPS`
161valid values are: 162valid values are:
162- https 163- https
163- ssh 164- ssh