56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
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 eu_US.keylayout "eu_US (ANSI).keylayout"; do
dest="$HOME/Library/Keyboard Layouts/$i"
# This does not like being symlinked…
if [ ! -e "$dest" ]; then
echo "Hardlinking $i -> $dest"
ln "$i" "$dest"
else
echo "$dest already exists, skipping…"
fi
|
|
|
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
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…"
fi
|