From bbfdb0362dde0ce2ef71a8a8d097df83d26587dd Mon Sep 17 00:00:00 2001 From: Oliver Davies <oliver@oliverdavies.dev> Date: Wed, 17 Apr 2024 07:41:51 +0100 Subject: [PATCH] Add TODO for extracting the domain from HTTPS URLs --- lib/shared/modules/zsh.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix index bc1e1e17..30538bf3 100644 --- a/lib/shared/modules/zsh.nix +++ b/lib/shared/modules/zsh.nix @@ -29,6 +29,8 @@ fi # Extract the remote domain (e.g. github.com) from the repo URL. + # TODO: make it work with HTTPS URLs. + # Cloning https://github.com/opdavies/oliverdavies.uk.git returns "https" as the domain. domain="''${repo_url#*@}" domain="''${domain%:*}"