mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-04 03:53:35 +08:00
Go back to unstable
This commit is contained in:
parent
e64c37e5db
commit
446fcadb1b
3 changed files with 18 additions and 19 deletions
|
|
@ -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)
|
||||
'';
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue