diff options
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -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" |
