2024-04-27 15:41:31 +00:00
|
|
|
#! /bin/bash
|
|
|
|
mkdir -p $HOME/.ssh
|
|
|
|
|
|
|
|
|
2024-04-27 15:54:16 +00:00
|
|
|
for link in bashrc gitconfig screenrc Xresources Xdefaults Xmodmap themes fonts aliases vim vimrc ;do
|
2024-04-27 15:41:31 +00:00
|
|
|
|
|
|
|
|
2024-04-27 15:50:28 +00:00
|
|
|
rm -rf $HOME/.$link && ln -s $(pwd)/$link $HOME/.$link;
|
2024-04-27 15:41:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-27 15:50:28 +00:00
|
|
|
done
|
2024-04-27 15:41:31 +00:00
|
|
|
ln -s $(pwd)/sshconfig $HOME/.ssh/config
|
2024-04-30 16:46:55 +00:00
|
|
|
cat $(pwd)/pubkeys/* > $HOME/.ssh/authorized_keys
|