From 908af2cdc8e0e70b70379bc660c82716a7fdf2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Thu, 18 Feb 2021 22:10:51 +0100 Subject: [PATCH] Add ssh config for git --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.sh b/install.sh index 91642e1..b8d70fb 100755 --- a/install.sh +++ b/install.sh @@ -19,5 +19,15 @@ cat << EOF > ~/.gitconfig excludesfile = ${HOME}/dotfiles/git/gitignore_global EOF +mkdir -p ~/.ssh +cat << EOF > ~/.ssh/config +Host github.com + User git +Host gitea + HostName git.torpet.thomasloven.com + User git +EOF +chmod 644 ~/.ssh/config + mkdir -p ~/.config/ ln -s ~/dotfiles/fish ~/.config/fish