#!/bin/sh

CONFIG=~/.config
mkdir -p "$CONFIG"

# abook
mkdir -p ~/.abook
cp abook/abookrc ~/.abook

# tmux
cp -R tmux "$CONFIG"

# tmuxp
cp -R tmuxp "$CONFIG"

# nvim
cp -R nvim "$CONFIG"

# vit
cp -R vit "$CONFIG"

# mpd
cp -R mpd "$CONFIG"

# ncmpcpp
cp -R ncmpcpp "$CONFIG"

# taskwarrior
cp taskwarrior/taskrc "$CONFIG/task/taskrc"

# zsh
cp zsh/zshenv ~/.zshenv

mkdir -p "$CONFIG/zsh"
cp zsh/zshrc      "$CONFIG/zsh/.zshrc"
cp zsh/aliases    "$CONFIG/zsh/aliases"
cp zsh/prompt     "$CONFIG/zsh/prompt"
cp zsh/completion "$CONFIG/zsh/completion"

# git
cp git/gitconfig ~/.gitconfig

# gdb
mkdir -p "$CONFIG/gdb"
cp gdb/gdbinit "$CONFIG/gdb/gdbinit"

# X11
cp X11/xinitrc ~/.xinitrc

# Newsboat
cp -R newsboat "$CONFIG"

# wyrd
cp wyrd/wyrdrc ~/.wyrdrc

# nvi
cp nexrc/nexrc ~/.nexrc

# mailcap
cp mailcap/mailcap ~/.mailcap

# npmrc
cp npm/npmrc ~/.npmrc

