home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug by typo.
[config]
/
bin
/
symlink.sh
diff --git
a/bin/symlink.sh
b/bin/symlink.sh
index 412b55d9e3001c7d8b425902eaa26b66ed9a47a8..a4c699df550f2758daebf960a9ee513b96263ad3 100755
(executable)
--- 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_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 ~`
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
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
elif [ "$1" = "server" ]; then
for file in `ls $dir_user_server`; do
ln -fs $dir_user_server/$file ~/.$file