From b95bd804c5616e96c0b2b557a0e203d135c6c240 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 10 Dec 2025 01:47:33 -0800 Subject: pop-os: Switch to “skim” search mode for Atuin --- oni/home/config/pop-os.scm | 3 ++- oni/home/services/zsh.scm | 10 ++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/oni/home/config/pop-os.scm b/oni/home/config/pop-os.scm index 174dfd5..f7e11ec 100644 --- a/oni/home/config/pop-os.scm +++ b/oni/home/config/pop-os.scm @@ -129,7 +129,8 @@ (enter-accept #t) (common-subcommands '("guix")) - (sync-address "http://phoenix.fold-kanyu.ts.net:8888"))))))) + (sync-address "http://phoenix.fold-kanyu.ts.net:8888") + (search-mode "skim"))))))) (define oni-home-herbstluftwm-configuration (home-module 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 -- cgit v1.3-2-g0d8e