function md

create a directory and enter it
usage: md foobar
centralize backups, swaps and undos