X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=makelinks.sh;h=1a37bd6cc9f683b6cb60b8bcd6de5922dc7cf333;hb=9d962e72f42cc491eb650291891605912d040ba3;hp=4376a4f4ce5a29a77e0b73f089010342606a3dff;hpb=2f5b821912b1b4ae8da7b72ff6685d82b2a796e4;p=max%2Fdotfiles.git diff --git a/makelinks.sh b/makelinks.sh index 4376a4f..1a37bd6 100755 --- a/makelinks.sh +++ b/makelinks.sh @@ -8,7 +8,8 @@ dir=~/etc/dotfiles olddir=~/etc/dotfiles.bak -files="vimrc bashrc bash_profile Xresources gitconfig zprofile zshenv zshrc xinitrc" +files="vimrc bashrc bash_profile bash_aliases dir_colors Xresources gitconfig gitignore xinitrc inputrc" +directories="mutt" ########## @@ -22,6 +23,14 @@ cd $dir #then create symlinks from the homedir to any files in the #~/dotfiles directory specified in $files for file in $files; do - mv ~/.$file $olddir/ - ln -s $dir/$file ~/.$file + mv ~/.$file $olddir/ + ln -s $dir/$file ~/.$file done + +# For every directory execute the install file. +for directory in $directories; do + mkdir -p ~/.$directory + source ./$directory/makelinks.sh +done + +