aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oni/home/config/pop-os.scm4
-rw-r--r--oni/home/services/zsh.scm6
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