summaryrefslogtreecommitdiffstats
path: root/minimal_linking_example.sh
diff options
context:
space:
mode:
Diffstat (limited to 'minimal_linking_example.sh')
-rw-r--r--minimal_linking_example.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/minimal_linking_example.sh b/minimal_linking_example.sh
new file mode 100644
index 0000000..e28b4ad
--- /dev/null
+++ b/minimal_linking_example.sh
@@ -0,0 +1,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