From 78affee46c1270535bd62cebdb92a03fae81f38e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 1 Jan 2026 20:29:51 -0800 Subject: zsh: Allow aliases to complete using their aliased names --- oni/home/config/common.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/oni/home/config/common.scm b/oni/home/config/common.scm index 82c8a44..4df7f14 100644 --- a/oni/home/config/common.scm +++ b/oni/home/config/common.scm @@ -270,7 +270,10 @@ LocalForward 19999 localhost:19999")) "}\n" "preexec_functions+=(horizontal-rule)\n" "precmd_functions+=(horizontal-rule)\n" - "PROMPT=\"%T \\$(spwd) %B%(?.%F{2}.%F{1}[%?])>%b%f \"") + "PROMPT=\"%T \\$(spwd) %B%(?.%F{2}.%F{1}[%?])>%b%f \"" + ;; Prevent aliases from being expanded before looking up + ;; completions. + "setopt completealiases\n") (local-file "zsh/spwd.zsh") (local-file "zsh/guix-environment.zsh"))))) ;; This has to be the first extension because it needs to be added to the -- cgit v1.3-2-g0d8e