aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client
diff options
context:
space:
mode:
Diffstat (limited to 'atuin-client')
-rw-r--r--atuin-client/config.toml3
-rw-r--r--atuin-client/src/settings.rs2
2 files changed, 5 insertions, 0 deletions
diff --git a/atuin-client/config.toml b/atuin-client/config.toml
index 307a645a..d5d7f389 100644
--- a/atuin-client/config.toml
+++ b/atuin-client/config.toml
@@ -122,6 +122,9 @@
## amount of commands in your history.
# show_help = true
+## Configure whether or not to show tabs for search and inspect
+# show_tabs = true
+
## Defaults to true. This matches history against a set of default regex, and will not save it if we get a match. Defaults include
## 1. AWS key id
## 2. Github pat (old and new)
diff --git a/atuin-client/src/settings.rs b/atuin-client/src/settings.rs
index 9f2afd04..a71091e2 100644
--- a/atuin-client/src/settings.rs
+++ b/atuin-client/src/settings.rs
@@ -354,6 +354,7 @@ pub struct Settings {
pub show_preview: bool,
pub max_preview_height: u16,
pub show_help: bool,
+ pub show_tabs: bool,
pub exit_mode: ExitMode,
pub keymap_mode: KeymapMode,
pub keymap_mode_shell: KeymapMode,
@@ -593,6 +594,7 @@ impl Settings {
.set_default("show_preview", false)?
.set_default("max_preview_height", 4)?
.set_default("show_help", true)?
+ .set_default("show_tabs", true)?
.set_default("invert", false)?
.set_default("exit_mode", "return-original")?
.set_default("word_jump_mode", "emacs")?