mirror of
https://github.com/Foltik/dotfiles
synced 2025-01-22 14:53:50 -05:00
Correctly copy directory contents to .config
This commit is contained in:
parent
5092fed19b
commit
3d5d54a010
19
configure.sh
19
configure.sh
@ -113,27 +113,30 @@ install_common() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
configure_common() {
|
configure_common() {
|
||||||
ln "Installing Common Configuration Files"
|
ln "Installing Common Configuration Files"
|
||||||
# powerlevel9k
|
# powerlevel9k
|
||||||
sudo git clone https://github.com/bhilburn/powerlevel9k.git /usr/share/oh-my-zsh/themes/powerlevel9k
|
sudo git clone https://github.com/bhilburn/powerlevel9k.git /usr/share/oh-my-zsh/themes/powerlevel9k
|
||||||
|
|
||||||
# urxvt
|
# urxvt
|
||||||
cp -v cfg/Xdefaults ~/.Xdefaults
|
cp -v cfg/Xdefaults ~/.Xdefaults
|
||||||
|
|
||||||
# zsh
|
# zsh
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user