55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
have zsh && link_file zshrc .zshrc
if have ssh; then
mkdir -p $HOME/.ssh
link_file ssh/config .ssh/config ../
fi
if test x"$(uname -s)" = x"Darwin"; then
for i in "Keyboard Layouts/*"; do
dest="$HOME/Library/$i"
# This does not like being symlinked…
if [ ! -e "$dest" ]; then
echo "Hardlinking $i -> $dest"
ln "$i" "$dest"
else
echo "$dest already exists, skipping…"
|
|
|
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
have zsh && link_file zshrc .zshrc
if have ssh; then
mkdir -p $HOME/.ssh
link_file ssh/config .ssh/config ../
fi
if test x"$(uname -s)" = x"Darwin"; then
for i in "Keyboard Layouts/"*; do
dest="$HOME/Library/$i"
# This does not like being symlinked…
if [ ! -e "$dest" ]; then
echo "Hardlinking $i -> $dest"
ln "$i" "$dest"
else
echo "$dest already exists, skipping…"
|