diff options
Diffstat (limited to 'docs/docs/commands/list.md')
-rw-r--r-- | docs/docs/commands/list.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/docs/commands/list.md b/docs/docs/commands/list.md index de9689e6..0aff88c1 100644 --- a/docs/docs/commands/list.md +++ b/docs/docs/commands/list.md @@ -11,3 +11,20 @@ title: Listing History | `--session/-s` | Enable listing history for the current session only (default: false) | | `--human` | Use human-readable formatting for the timestamp and duration (default: false) | | `--cmd-only` | Show only the text of the command (default: false) | +| `--format` | Specify the formatting of a command (see below) | + +## Format + +Customize the output of `history list` + +Example + +``` +atuin history list --format "{time} - {duration} - {command}" +``` + +Supported variables + +``` +{command}, {directory}, {duration}, {user}, {host} and {time} +``` |