Skip to content

Commit

Permalink
add history format config docs (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: Ellie Huxtable <[email protected]>
  • Loading branch information
dongxuwang and ellie authored Jan 29, 2024
1 parent e7c544b commit 1565230
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/content/docs/configuration/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,12 @@ Pressing ctrl+c or ctrl+d will always return the original command-line value.
exit_mode = "return-query"
```

### history_format

The history format allows you to configure the default history list format - which can also be specified with the --format arg.

The specified --format arg will prioritize the config when both are present

### history_filter

The history filter allows you to exclude commands from history tracking - maybe you want to keep ALL of your `curl` commands totally out of your shell history, or maybe just some matching a pattern.
Expand Down

0 comments on commit 1565230

Please sign in to comment.