aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2025-12-10 01:47:33 -0800
committerGravatar Tom Willemse2025-12-10 01:47:52 -0800
commitb95bd804c5616e96c0b2b557a0e203d135c6c240 (patch)
treee80f47ce7b2591a51a197ee23147e23bc2b29ce6
parent4c2248f885985dbea075a94095fabca8a0041235 (diff)
downloadnew-dotfiles-b95bd804c5616e96c0b2b557a0e203d135c6c240.tar.gz
new-dotfiles-b95bd804c5616e96c0b2b557a0e203d135c6c240.zip
pop-os: Switch to “skim” search mode for Atuin
-rw-r--r--oni/home/config/pop-os.scm3
-rw-r--r--oni/home/services/zsh.scm10
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