diff --git a/copy-files.fish b/copy-files.fish index 9b719d6..de99317 100755 --- a/copy-files.fish +++ b/copy-files.fish @@ -2,37 +2,37 @@ # copy regular files mkdir -p \ - applications \ - build-system \ - fonts \ - network \ - scripts \ - system \ - themes \ - unused \ - vim + applications \ + build-system \ + fonts \ + network \ + scripts \ + system \ + themes \ + unused \ + vim while read f t - eval set t $t - cp -r $t $f + 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 + 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 + pushd $repo + echo (basename $PWD) "<"(git config --get remote.origin.url)">" + popd end | sort > vim/package_repos sed -i 's/password>.*<\//password>password removed<\//g' network/icecast.xml