From 0a54e63a168bb2653d1245b7992983d52e1086b7 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Wed, 17 Apr 2024 09:00:00 +0100
Subject: [PATCH] Fix Bitbucket URL

---
 lib/shared/modules/zsh.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix
index 985f9bd6..276d14c8 100644
--- a/lib/shared/modules/zsh.nix
+++ b/lib/shared/modules/zsh.nix
@@ -25,10 +25,10 @@
         # TODO: make it work with multi-level URLS - e.g. https://gitlab.com/a/b/c/d.git
 
         user_and_repo_name="''${repo_url}"
-        user_and_repo_name="''${user_and_repo_name#git@bitbucket.com:}"
+        user_and_repo_name="''${user_and_repo_name#git@bitbucket.org:}"
         user_and_repo_name="''${user_and_repo_name#git@github.com:}"
         user_and_repo_name="''${user_and_repo_name#git@gitlab.com:}"
-        user_and_repo_name="''${user_and_repo_name#https://bitbucket.com/}"
+        user_and_repo_name="''${user_and_repo_name#https://bitbucket.org/}"
         user_and_repo_name="''${user_and_repo_name#https://github.com/}"
         user_and_repo_name="''${user_and_repo_name#https://gitlab.com/}"