X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=bin%2Fsymlink.sh;h=74cdb7bf2b74d90a6bc78d82cded8dcefc8f320e;hb=987cea18cb9c42a955c69525c518979988ac8ce0;hp=412b55d9e3001c7d8b425902eaa26b66ed9a47a8;hpb=338f55b54a46d0553ce039055d8869b683604bef;p=config diff --git a/bin/symlink.sh b/bin/symlink.sh index 412b55d..74cdb7b 100755 --- a/bin/symlink.sh +++ b/bin/symlink.sh @@ -5,6 +5,8 @@ set -x 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 ~` @@ -24,6 +26,15 @@ else 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