bash: Add vdiffdir function