This is a semi Alfred/shellscript workflow.
It lets you input a sitename and its path as two variables in Alfred window, then it asks for your admin pwd for the shellscript to add two code blocks to your httpd-vhosts.conf & hosts files to set up your development domains with ease.
Ive hosted it on Github since I dont know if is appropriate to place it on a site for Alfred workflow since it also utilizes a shell script. Anyway - I hope someone will enjoy it
Link to Github repo: https://github.com/samuelhorn/Apache-dev-hosts-with-Alfred
Best regards
Samuel Horn af Rantzien