configs  Diff

Differences From Artifact [3cf6f2e405]:

To Artifact [2e7d72dace]:


56
57
58
59
60
61
62

63
64
65
66
67
68
69
70

71
72
73
74
75
76
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

	dest="$HOME/Library/Keyboard Layouts/eu_US.keylayout"
	# This does not like being symlinked…
	if [ ! -e "$dest" ]; then
		echo "Hardlinking eu_US.keylayout -> $dest"
		ln eu_US.keylayout "$dest"
	else
		echo "$dest already exists, skipping…"
	fi

elif have startx; then
	link_file Xdefaults .Xdefaults
	link_file Xmodmap .Xmodmap
	link_file xinitrc .xinitrc
	link_file xscreensaver .xscreensaver
fi







>
|
|
|
|
|
|
|
|
>






56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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
	done
elif have startx; then
	link_file Xdefaults .Xdefaults
	link_file Xmodmap .Xmodmap
	link_file xinitrc .xinitrc
	link_file xscreensaver .xscreensaver
fi