From 4338a16efc2d6a8975e3c50b66b3b3fd6497f545 Mon Sep 17 00:00:00 2001 From: Yannick7777 <87943421+Yannick7777@users.noreply.github.com> Date: Thu, 6 Feb 2025 15:14:15 +0100 Subject: [PATCH] add alias --- .zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.zshrc b/.zshrc index 28624a8..b0ed558 100644 --- a/.zshrc +++ b/.zshrc @@ -111,6 +111,7 @@ alias ledger-shell="ledger-agent ~/.ssh/ledger.conf -s -v" alias dcd="docker compose down" alias dcu="docker compose up" alias dcud="docker compose up -d" +alias needssh="git remote set-url origin \$(git remote get-url origin | sed -e 's|https://github.com/|git@github.com:|' -e 's|/$||' -e 's|\.git$||')" # Created by `pipx` on 2024-11-22 13:27:16 export PATH="$PATH:/home/melody/.local/bin"