From e792915a6908a467326d4b7180c2f59004141297 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 11 Aug 2024 11:30:46 -0700 Subject: [PATCH] Add docs in readme to call out shorter column names as added in #228 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b5e7b10..b1881e2 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,9 @@ You can customize the columns that are displayed via `hishtory config-set displa hishtory config-set displayed-columns CWD Command ``` -The list of supported columns are: `Hostname`, `CWD`, `Timestamp`, `Runtime`, `ExitCode`, `Command`, and `User`. +The list of supported columns are: `Hostname`, `CWD`, `Timestamp`, `Runtime`, `ExitCode`, `Command`, and `User` (along with any custom columns). + +Many of the column names also support custom shorter column names to save space. For example, rather than having a column named `Exit Code`, it can be referenced as `$?` to save space. See [here](https://github.com/ddworken/hishtory/blob/ca0c72b/client/lib/lib.go#L86-L122) for the full list of column names that can be used.