From f3b150b0e602379c9099e2e2a60d2139ed968eb5 Mon Sep 17 00:00:00 2001 From: Christian Koptein Date: Tue, 3 Mar 2026 10:32:15 +0100 Subject: [PATCH] fix sshconfig on install --- gitconfig | 4 +++- install.sh | 2 +- sshconfig | 8 -------- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/gitconfig b/gitconfig index 483fb11..2188148 100644 --- a/gitconfig +++ b/gitconfig @@ -4,4 +4,6 @@ [core] editor = vim [fetch] - prune = true \ No newline at end of file + prune = true +[init] + defaultBranch = main diff --git a/install.sh b/install.sh index 9329023..f1beda8 100755 --- a/install.sh +++ b/install.sh @@ -14,7 +14,7 @@ for link in bashrc gitconfig screenrc Xresources Xdefaults Xmodmap themes fonts fi done -if [ ! -e $HOME/.$link ]; then +if [ ! -e $HOME/.ssh/config ]; then ln -s $(pwd)/sshconfig $HOME/.ssh/config; fi git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim diff --git a/sshconfig b/sshconfig index 6559293..130fe29 100644 --- a/sshconfig +++ b/sshconfig @@ -36,14 +36,6 @@ Host git.home.lan Hostname 192.168.15.14 Port 222 User git -Host docker.vpn - Hostname 10.8.0.9 - Port 22 - User koptein -Host docker - Hostname 192.168.15.14 - Port 22 - User koptein Host minecraft Hostname 192.168.15.194 Port 22