scripts/copy-files.fish

21 lines
381 B
Fish
Executable File

#!/usr/bin/env fish
mkdir -p \
applications \
build-system \
network \
scripts \
system \
themes \
vim
tree -dL 3 ~/.vim/pack > vim/packages
while read f t
eval set t $t
cp -r $t $f
end < files
sed -i 's/password>.*<\//password>password removed<\//g' network/icecast.xml
sed -i 's/password\(\s*\)".*"/password\1"password removed"/g' network/mpd.conf