configuration/fetch_them_files.sh
2014-12-10 00:19:58 +01:00

16 lines
294 B
Bash

#!/bin/bash
dotfiles=( vimrc Xresources zshrc xinitrc )
configfiles=( herbstluftwm/autostart herbstluftwm/panel.sh )
for file in "${dotfiles[@]}"; do
cp "$HOME/.$file" "$file"
done
for file in "${configfiles[@]}"; do
mkdir -p "${file%/*}"
cp "$HOME/.config/$file" "$file"
done