Go back to unstable

This commit is contained in:
Sridhar Ratnakumar 2025-05-23 13:54:31 +10:00
parent e64c37e5db
commit 446fcadb1b
3 changed files with 18 additions and 19 deletions

View file

@ -1,10 +1,11 @@
{ lib, ... }:
# Fix broken autocompletion in home-manager zsh.
# See https://github.com/nix-community/home-manager/issues/2562.
# TODO: Remove this after https://github.com/nix-community/home-manager/pull/5458
{
home-manager.sharedModules = [
({ config, ... }: {
programs.zsh.initExtraBeforeCompInit = ''
programs.zsh.initContent = lib.mkOrder 550 ''
fpath+=("${config.home.profileDirectory}"/share/zsh/site-functions "${config.home.profileDirectory}"/share/zsh/$ZSH_VERSION/functions "${config.home.profileDirectory}"/share/zsh/vendor-completions)
'';
})