Skip to content

Commit

Permalink
Update(docs) Add workspace to config.toml and config.md (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
thePanz authored Aug 9, 2023
1 parent 613218f commit 8080a17
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions atuin-client/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
## possible values: global, host, session, directory
# filter_mode = "global"

## With workspace filtering enabled, Atuin will filter for commands executed
## in any directory within a git repositiry tree (default: false)
# workspaces = false

## which filter mode to use when atuin is invoked from a shell up-key binding
## the accepted values are identical to those of "filter_mode"
## leave unspecified to use same mode set in "filter_mode"
Expand Down
10 changes: 10 additions & 0 deletions docs/docs/config/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,16 @@ filter_mode_shell_up_key_binding = "session"

Defaults to the value specified for filter_mode.

### `workspace`

This flag enables a pseudo filter-mode named "workspace": the filter is automatically
activated when you are in a git repository. Defaults to false.

With workspace filtering enabled, Atuin will filter for commands executed in any directory
within a git repository tree.

Filter modes can still be toggled via ctrl-r.

### `style`

Which style to use. Possible values: `auto`, `full` and `compact`.
Expand Down

1 comment on commit 8080a17

@vercel
Copy link

@vercel vercel bot commented on 8080a17 Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

atuin-docs – ./

atuin-docs.vercel.app
atuin-docs-git-main-atuin.vercel.app
atuin-docs-atuin.vercel.app

Please sign in to comment.