From 6f61d84d3f7dad7a7f7bf345dc207069b3713542 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Mon, 12 Dec 2022 09:14:43 +0000
Subject: [PATCH] fix: autocompletion of the `g` function

---
 nixpkgs/home-manager/modules/zsh.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nixpkgs/home-manager/modules/zsh.nix b/nixpkgs/home-manager/modules/zsh.nix
index 5390a88b..4d023b8a 100644
--- a/nixpkgs/home-manager/modules/zsh.nix
+++ b/nixpkgs/home-manager/modules/zsh.nix
@@ -33,6 +33,8 @@
           git status
         fi
       }
+
+      compdef g=git
     '';
 
     zplug = {