From 5918ac6cc3a873fa93ede3bf8b30aef8ab7da12b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 10 Dec 2025 01:11:53 -0800 Subject: atuin: Add ‘guix’ as a common-prefix command --- oni/home/config/pop-os.scm | 4 +++- oni/home/services/zsh.scm | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/oni/home/config/pop-os.scm b/oni/home/config/pop-os.scm index 852ba24..9fc0c0c 100644 --- a/oni/home/config/pop-os.scm +++ b/oni/home/config/pop-os.scm @@ -126,7 +126,9 @@ (filter-mode 'directory) (history-filter '("^ +")) - (enter-accept #t))))))) + (enter-accept #t) + (common-subcommands + '("guix")))))))) (define oni-home-herbstluftwm-configuration (home-module diff --git a/oni/home/services/zsh.scm b/oni/home/services/zsh.scm index 2dd1718..2d714d1 100644 --- a/oni/home/services/zsh.scm +++ b/oni/home/services/zsh.scm @@ -181,7 +181,11 @@ maybe just some matching a pattern.") (boolean #f) "When set to true, Atuin will default to immediately executing a command rather than the user having to press enter twice. Pressing tab will return to the shell -and give the user a chance to edit.")) +and give the user a chance to edit.") + (common-subcommands + (list-of-strings '()) + "Configures commands where we should consider the subcommand as part of the +statistics. For example, consider kubectl get rather than just kubectl.")) (define (add-zsh-atuin config) (home-zsh-extension -- cgit v1.3-2-g0d8e