Skip to content

Commit

Permalink
Merge branch 'master' into simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Sep 28, 2024
2 parents 84eef98 + e5ca39a commit f9b8ca5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nix-darwin/zsh-completion-fix.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Fix broken autocompletion. See https://github.com/nix-community/home-manager/issues/2562.
{ flake, ... }:

# 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.users.${flake.config.people.myself}.imports = [
home-manager.sharedModules = [
({ config, ... }: {
programs.zsh.initExtraBeforeCompInit = ''
fpath+=("${config.home.profileDirectory}"/share/zsh/site-functions "${config.home.profileDirectory}"/share/zsh/$ZSH_VERSION/functions "${config.home.profileDirectory}"/share/zsh/vendor-completions)
Expand Down

0 comments on commit f9b8ca5

Please sign in to comment.