configuration/fetch_them_files.sh

10 lines
144 B
Bash
Raw Normal View History

2014-11-27 20:52:06 +01:00
#!/bin/bash
2014-12-09 21:59:02 +01:00
files="$(ls ~/.vimrc ~/.Xresources ~/.zshrc ~/.xinitrc)"
2014-11-27 20:52:06 +01:00
echo "$files" | while read file; do
cp "$file" "${file##*/.}"
done