summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100644
index 0000000..c5c69a9
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,24 @@
+# Run this first
+
+source profile
+
+
+# bash
+
+ln -sf ~/.dotfiles/profile ~/.profile
+ln -sf ~/.dotfiles/bash_aliases ~/.bash_aliases
+ln -sf ~/.dotfiles/bashrc ~/.bashrc
+ln -sf ~/.dotfiles/inputrc ~/.inputrc # allow Vim mode in bash
+
+
+# vim
+
+[ -d "$XDG_DATA_HOME"/vim/ ] || mkdir -p "$XDG_DATA_HOME"/vim/{undo,swap,backup}
+
+ln -sf ~/.dotfiles/vimrc ~/.config/vim/vimrc
+ln -sf ~/.dotfiles/fun.vim ~/.config/vim/fun.vim
+
+
+# done
+
+echo "all done :)"