1
0
mirror of https://github.com/Foltik/dotfiles synced 2025-01-22 06:50:57 -05:00

Correctly copy directory contents to .config

This commit is contained in:
Jack Foltz 2018-01-13 12:02:10 -05:00
parent 5092fed19b
commit 3d5d54a010
Signed by: foltik
GPG Key ID: 303F88F996E95541

View File

@ -124,16 +124,19 @@ configure_common() {
cp -v cfg/zshrc ~/.zshrc cp -v cfg/zshrc ~/.zshrc
# neovim # neovim
mkdir -pv ~/.config/nvim
cp -v cfg/nvim/init.vim ~/.config/nvim cp -v cfg/nvim/init.vim ~/.config/nvim
nvim +PlugInstall +qall nvim +PlugInstall +qall
# mpd # mpd
mkdir -pv ~/.config/mpd
awk '{gsub(/lain/,"'$USER'")}1' cfg/mpd/mpd.conf > mpd.conf.temp && mv mpd.conf.temp cfg/mpd/mpd.conf awk '{gsub(/lain/,"'$USER'")}1' cfg/mpd/mpd.conf > mpd.conf.temp && mv mpd.conf.temp cfg/mpd/mpd.conf
cp -rv cfg/mpd ~/.config/mpd cp -rv cfg/mpd/* ~/.config/mpd/
# beets # beets
mkdir -pv ~/Music/beets mkdir -pv ~/Music/beets
cp -rv cfg/beets ~/.config/beets mkdir -pv ~/.config/beets
cp -rv cfg/beets/* ~/.config/beets
# ncmpcpp # ncmpcpp
mkdir -pv ~/.ncmpcpp mkdir -pv ~/.ncmpcpp