mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-05-17 02:53:08 +00:00
Fix hostname detection on bashrc
Also in this commit, I do "git remote add" to the sourcehut mirror of my dotfiles if not exists locally Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
This commit is contained in:
parent
f9ca813505
commit
076ddb88b5
2 changed files with 12 additions and 7 deletions
|
@ -11,5 +11,5 @@ elif [ -d "$HOME/.git" ] && [ ! -d "$HOME/.local/share/yadm/repo.git" ]; then
|
|||
fi
|
||||
|
||||
echo "Setting git remote URLs to SSH"
|
||||
git remote set-url origin ssh://git@mau.dev/andreijiroh.dev/dotfiles || true
|
||||
git remote set-url hut ssh://git@git.sr.ht/~ajhalili2006/dotfiles || true
|
||||
git remote set-url --add origin ssh://git@mau.dev/andreijiroh.dev/dotfiles || true
|
||||
git remote set-url --add hut ssh://git@git.sr.ht/~ajhalili2006/dotfiles || git remote add hut ssh://git@git.sr.ht/~ajhalili2006/dotfiles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue