home
·
contact
·
privacy
projects
/
config
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Further extend post-install config script.
[config]
/
symlink.sh
1
#!/bin/sh
2
3
set -x
4
5
dir=~/config/dotfiles
6
dir_root=~/config/dotfiles_root
7
for file in `ls $dir`; do
8
ln -fs $dir/$file ~/.$file
9
done
10
if [ "$(id -u)" -eq "0" ]; then
11
for file in `ls $dir_root`; do
12
ln -fs $dir_root/$file ~/.$file
13
done
14
fi