summaryrefslogtreecommitdiffstats
path: root/minimal_linking_example.sh
blob: e28b4ad6d6015709a70a58a999fb99a905b4ba3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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
cd $dest/.config
ln -sf $target/.config/git
ln -sf $target/.config/locale.conf
ln -sf $target/.config/nvim
ln -sf $target/.config/tmux