X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=makelinks.sh;h=143176f542d27b828cf10a187df436da3ea895c9;hb=a5db382ceaaa972250509f4c1f1f8831cf8e09ed;hp=d71558450b775b02b4bd3f620b8ff8642a10c22e;hpb=8d6dff1c43c4c3055dd50e57f98dbc3544652e30;p=max%2Fdotfiles.git diff --git a/makelinks.sh b/makelinks.sh index d715584..143176f 100755 --- a/makelinks.sh +++ b/makelinks.sh @@ -8,7 +8,8 @@ dir=~/etc/dotfiles olddir=~/etc/dotfiles.bak -files="vimrc bashrc xsession Xresources gitconfig zprofile zshenv zshrc xinitrc" +files="vimrc bashrc bash_profile bash_aliases dir_colors Xresources gitconfig gitignore xinitrc" +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 + +