#!/usr/bin/env fish # copy regular files mkdir -p \ applications \ build-system \ network \ scripts \ system \ themes \ vim while read f t eval set t $t cp -r $t $f end < files # copy font configs find /etc/fonts/conf.d/*.conf > fonts/conflist for f in /etc/fonts/conf.d/*.conf if not test -L "$f" cp $f fonts end end # copy vim package names tree -dL 3 ~/.vim/pack > vim/packages for repo in ~/.vim/pack/*/*/* pushd $repo echo (basename $PWD) "<"(git config --get remote.origin.url)">" popd end > vim/package_repos sed -i 's/password>.*<\//password>password removed<\//g' network/icecast.xml sed -i 's/password\(\s*\)".*"/password\1"password removed"/g' network/mpd.conf