summaryrefslogtreecommitdiffstats
path: root/minimal_linking_example.sh
blob: 82210694b47f2d54bbe6717737fbd8e150d8e84b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# I don't maintain this file, use it ONLY AS REFERENCE
#
# WARNINGS:
# * if $HOME contains spaces this breaks
# * `ln -sf` overwrites the destination files
#
# you can play with ln options (e.g., `ln -siv`)

target=$HOME/dotfiles/minimal
dest=$HOME

cd $dest
ln -sf $target/.inputrc
ln -sf $target/.git-prompt.sh
ln -sf $target/.bashrc
ln -sf $target/.bash_aliases
mkdir -p $dest/.config
cd $dest/.config
ln -sf $target/.config/git
ln -sf $target/.config/locale.conf
ln -sf $target/.config/nvim
ln -sf $target/.config/tmux