DRY up similar 'switch to home directory' instructions