summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh19
1 files changed, 14 insertions, 5 deletions
diff --git a/install.sh b/install.sh
index df782a0..c236ac5 100755
--- a/install.sh
+++ b/install.sh
@@ -70,6 +70,8 @@ prompt() {
# FIXME: If $PWD has spaces in it, this might fail.
# Filewise
+# --------
+
if prompt "bash"; then
eval $cp_or_ln " ${PWD}/bash/bash_profile $HOME/.bash_profile"
eval $cp_or_ln " ${PWD}/bash/bashrc $HOME/.bashrc"
@@ -91,11 +93,6 @@ if prompt "vim"; then
eval $cp_or_ln " ${PWD}/vim/fun.vim $VIMFILES/fun.vim"
fi
-# Directorywise
-if prompt "nvim"; then
- eval $cp_or_ln " ${PWD}/nvim $XDG_CONFIG_HOME/nvim"
-fi
-
if prompt "git"; then
[ -d $XDG_CONFIG_HOME/git ] || mkdir -p $XDG_CONFIG_HOME/git
eval $cp_or_ln " ${PWD}/git/ignore $XDG_CONFIG_HOME/git/ignore"
@@ -103,6 +100,18 @@ if prompt "git"; then
eval $cp_or_ln " ${PWD}/git/git-prompt.sh $HOME/.git-prompt.sh"
fi
+if prompt "Xorg"; then
+ eval $cp_or_ln " ${PWD}/Xorg/xinitrc $HOME/.xinitrc"
+ eval $cp_or_ln " ${PWD}/Xorg/xbindkeysrc $HOME/.xbindkeysrc"
+fi
+
+# Directorywise
+# -------------
+
+if prompt "nvim"; then
+ eval $cp_or_ln " ${PWD}/nvim $XDG_CONFIG_HOME/nvim"
+fi
+
if prompt "zathura"; then
eval $cp_or_ln " ${PWD}/zathura $XDG_CONFIG_HOME/zathura"