diff options
| author | Mitsuo Tokumori <[email protected]> | 2023-11-24 00:38:22 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2023-11-24 00:38:22 -0500 |
| commit | 6e515b6902c537e742c2408783459e6a0ad10fa0 (patch) | |
| tree | 2b14d344668884e9bbfa4c7903a9f9e5c1466509 /install.sh | |
| parent | e900c217c1e50a4067384c9bb3fe43dff61986c6 (diff) | |
| download | dotfiles-6e515b6902c537e742c2408783459e6a0ad10fa0.tar.gz dotfiles-6e515b6902c537e742c2408783459e6a0ad10fa0.tar.bz2 dotfiles-6e515b6902c537e742c2408783459e6a0ad10fa0.zip | |
Disable install.sh until fixed
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 25 |
1 files changed, 16 insertions, 9 deletions
@@ -15,6 +15,14 @@ # https://wiki.archlinux.org/title/Dotfiles +# FIXME: This is broken since I moved the directories. Change all $PWD with +# $PWD/config and it should work. But make this simpler. The "copy" +# mode is useless. Each user should have a copy of this and then use the +# "slink" mode. That way you can keep track of changes made, and then +# even add a branch (e.g., pulse15, x220) to the repo. +exit + + # Config # ====== @@ -93,16 +101,9 @@ if prompt "vim"; then eval $cp_or_ln " ${PWD}/vim/fun.vim $VIMFILES/fun.vim" 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" - eval $cp_or_ln " ${PWD}/git/config $XDG_CONFIG_HOME/git/config" - 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" + eval $cp_or_ln " ${PWD}/xorg/xinitrc $HOME/.xinitrc" + eval $cp_or_ln " ${PWD}/xorg/xbindkeysrc $HOME/.xbindkeysrc" fi # Directorywise @@ -116,6 +117,12 @@ if prompt "tmux"; then eval $cp_or_ln " ${PWD}/tmux $XDG_CONFIG_HOME" fi +if prompt "git"; then + eval $cp_or_ln " ${PWD}/git $XDG_CONFIG_HOME" + eval $cp_or_ln " ${PWD}/git/git-prompt.sh $HOME/.git-prompt.sh" +fi + + if prompt "zathura"; then eval $cp_or_ln " ${PWD}/zathura $XDG_CONFIG_HOME" fi |
