Add ssh config for git

This commit is contained in:
Thomas Lovén 2021-02-18 22:10:51 +01:00
parent 24ae1d2c7c
commit 908af2cdc8

View File

@ -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