dir_minimal=~/config/dotfiles/minimal
dir_user_minimal=~/config/dotfiles/user/minimal
dir_user_thinkpad=~/config/dotfiles/user/thinkpad
+dir_user_X200s=~/config/dotfiles/user/x200s
+dir_user_T450s=~/config/dotfiles/user/t450s
dir_user_server=~/config/dotfiles/user/server
dir_root=~/config/dotfiles/root
homedir=`echo ~`
for file in `ls $dir_user_thinkpad`; do
ln -fs $dir_user_thinkpad/$file ~/.$file
done
+ if [ "$2" = "x200s" ]; then
+ for file in `ls $dir_user_X200s`; do
+ ln -fs $dir_user_X200s/$file ~/.$file
+ done
+ else
+ for file in `ls $dir_user_T450s`; do
+ ln -fs $dir_user_T450s/$file ~/.$file
+ done
+ fi
elif [ "$1" = "server" ]; then
for file in `ls $dir_user_server`; do
ln -fs $dir_user_server/$file ~/.$file
useradd -m -s /bin/bash plom
rm -rf /home/plom/config
su - plom -c 'git clone http://github.com/plomlompom/config /home/plom/config'
-su plom -c '/home/plom/config/bin/symlink.sh '$1
+su plom -c '/home/plom/config/bin/symlink.sh '$1 $2
# Set up editor.
mkdir -p .vimbackups