aboutsummaryrefslogtreecommitdiffstats
path: root/oni/home/services/zsh.scm
diff options
context:
space:
mode:
Diffstat (limited to 'oni/home/services/zsh.scm')
-rw-r--r--oni/home/services/zsh.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/oni/home/services/zsh.scm b/oni/home/services/zsh.scm
index 09d248f..26fc085 100644
--- a/oni/home/services/zsh.scm
+++ b/oni/home/services/zsh.scm
@@ -22,6 +22,8 @@
home-zsh-atuin-service-type
home-zsh-atuin-configuration))
+(define-maybe string)
+
(define-configuration/no-serialization home-zsh-autosuggestions-configuration
(package
(package zsh-autosuggestions)
@@ -190,8 +192,12 @@ and give the user a chance to edit.")
"Configures commands where we should consider the subcommand as part of the
statistics. For example, consider kubectl get rather than just kubectl.")
(sync-address
- (string "")
- "The address of the server to sync with!"))
+ maybe-string
+ "The address of the server to sync with!")
+ (search-mode
+ maybe-string
+ "Which search mode to use. Atuin supports “prefix”, “fulltext”, “fuzzy”, and
+“skim” search modes."))
(define (add-zsh-atuin config)
(home-zsh-extension