apply-dotfiles 616 B

1234567891011121314151617
  1. #!/bin/sh
  2. #initDir=$(pwd)
  3. #confDirs=$(find dot-config/ -type d | tail -n +2)
  4. #for sourceDir in $confDirs; do
  5. #targetDir=$(echo $sourceDir | sed 's/^dot-config/~\/\.config/g')
  6. #[ -d "$targetDir" ] && mkdir -p "$targetDir"
  7. #cd "${sourceDir%/*}"
  8. #stow --verbose --dotfiles --target="$targetDir" "${sourceDir##*/}"
  9. #cd "$initDir"
  10. #done
  11. stow --verbose --dotfiles --target=$HOME/.config dot-config
  12. stow --verbose --dotfiles --target=$HOME/.local/share local-share
  13. stow --verbose --dotfiles --target=$HOME/.local/bin local-bin
  14. #cd dot-config/
  15. #stow --verbose --dotfiles --target=$HOME/.config/vim vim