Skip to content

Commit

Permalink
Minor changes to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshaw committed Oct 25, 2024
1 parent fe9fac6 commit 1ab7dff
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -811,9 +811,9 @@ always appreciated][contributing]!
#### Configuration

During its initialization phase, `usql` reads a standard [YAML configuration][yaml]
file `config.yaml`. On Windows this is `%AppData%/usql/config.yaml`, on macOS
this is `$HOME/Library/Application Support/usql/config.yaml`, and on Linux and
other Unix systems this is normally `$HOME/.config/usql/config.yaml`.
file [`config.yaml`](contrib/config.yaml). On Windows this is `%AppData%/usql/config.yaml`,
on macOS this is `$HOME/Library/Application Support/usql/config.yaml`, and on
Linux and other Unix systems this is normally `$HOME/.config/usql/config.yaml`.

##### `connections:`

Expand Down Expand Up @@ -846,12 +846,13 @@ gr:system@localhost/free=>

##### `init:`

An initialization script can be defined as `init:`:
An initialization script can be defined as `init:` as a string:

```yaml
init: |
\echo welcome to the jungle `date`
\set SYNTAX_HL_STYLE paraiso-dark
\set PROMPT1 '\033[32m%S%M%/%R%#\033[0m '
```

The `init:` script is commonly used to set [environment variables][variables]
Expand Down

0 comments on commit 1ab7dff

Please sign in to comment.