diff options
| author | 2026-01-01 20:29:51 -0800 | |
|---|---|---|
| committer | 2026-01-01 20:29:51 -0800 | |
| commit | 78affee46c1270535bd62cebdb92a03fae81f38e (patch) | |
| tree | 903d7905fd9d2e15ceec12460849adbe0e2e144e | |
| parent | 5cfa9dd6f68cbca8f7ca58c54a2685bb633ff7c6 (diff) | |
| download | new-dotfiles-78affee46c1270535bd62cebdb92a03fae81f38e.tar.gz new-dotfiles-78affee46c1270535bd62cebdb92a03fae81f38e.zip | |
zsh: Allow aliases to complete using their aliased names
| -rw-r--r-- | oni/home/config/common.scm | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
