Paste the content into your .zshrc or .bashrc, and relogin.
# $ vmware_run help
# Usage:
# vmware_run <VM-name> <start|stop|suspend|reset|pause|unpause>
# vmware_run <VM-name> <start_with_gui|start-with-gui>
#
# Examples:
# vmware_run start u20.local.new