1
for i in ~/.config/vcsh/repo.d/*.git; do reponame=${${i%.git/}##*/}; sed -e "s/NAME/${reponame}/g" ~/.config/mr/available.d/vcsh-TEMPLATE ; done