From fff394bf5e87b51e14bdb1752bd5b3a229fba279 Mon Sep 17 00:00:00 2001
From: Daniel Lundin <daniel@arity.se>
Date: Tue, 6 Jun 2023 12:20:52 +0200
Subject: [PATCH] zsh: add jujutsu completion

---
 .zshrc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.zshrc b/.zshrc
index 42b8c34..0ed5dd6 100644
--- a/.zshrc
+++ b/.zshrc
@@ -217,6 +217,9 @@ if [ ! -f "${fpath[1]}/_sl" ]; then
   curl -sLo "${fpath[1]}/_sl" https://github.com/facebook/sapling/raw/d6157db1ebc0868cf70805756e32541bd681bac2/eden/scm/contrib/zsh_completion_sl
 fi
 
+## jujutsu
+source <(jj util completion --zsh)
+
 ## Tekton cli
 if [ ! -f "${fpath[1]}/_tkn" ]; then
 	command -v tkn >/dev/null 2>&1 && tkn completion zsh > "${fpath[1]}/_tkn"