18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
link_file gpg.conf .gnupg/gpg.conf ../
fi
which tmux >/dev/null 2>&1 && link_file tmux.conf .tmux.conf
if which vim >/dev/null 2>&1; then
link_file vim .vim
link_file vimrc .vimrc
fi
which fish >/dev/null 2>&1 && link_file config/fish .config/fish ../
which youtube-dl >/dev/null 2>&1 && link_file config/youtube-dl .config/youtube-dl ../
which zsh >/dev/null 2>&1 && link_file zshrc .zshrc
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"
|
|
|
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
link_file gpg.conf .gnupg/gpg.conf ../
fi
which tmux >/dev/null 2>&1 && link_file tmux.conf .tmux.conf
if which vim >/dev/null 2>&1; then
link_file vim .vim
link_file vimrc .vimrc
fi
which fish >/dev/null 2>&1 && link_file fish .config/fish ../
which youtube-dl >/dev/null 2>&1 && link_file youtube-dl .config/youtube-dl ../
which zsh >/dev/null 2>&1 && link_file zshrc .zshrc
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"
|