This commit is contained in:
Christian Koptein 2026-03-12 07:32:13 +01:00
parent 258b350806
commit 3fa63498f9

View File

@ -1,7 +1,7 @@
#! /bin/bash
set -eou pipefail
cat $(pwd)/pubkeys/* > $HOME/.ssh/authorized_keys
mkdir -p $HOME/.ssh
cat $(pwd)/pubkeys/* > $HOME/.ssh/authorized_keys
for link in bashrc gitconfig screenrc Xresources Xdefaults Xmodmap aliases vim vimrc hushlogin ;do
#remove real files if present, making room for links
if [ -f $HOME/.$link ]; then