More installer fixes

This commit is contained in:
Christian Koptein 2026-03-03 10:35:20 +01:00
parent f3b150b0e6
commit 5966766c3b

View File

@ -2,7 +2,7 @@
set -eou pipefail
cat $(pwd)/pubkeys/* > $HOME/.ssh/authorized_keys
mkdir -p $HOME/.ssh
for link in bashrc gitconfig screenrc Xresources Xdefaults Xmodmap themes fonts aliases vim vimrc hushlogin ;do
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
#echo 'removing' $HOME/.$link;
@ -17,4 +17,7 @@ done
if [ ! -e $HOME/.ssh/config ]; then
ln -s $(pwd)/sshconfig $HOME/.ssh/config;
fi
if [ ! -e $HOME/.vim/bundle/Vundle.vim ]; then
git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim
fi