Skip to content

Instantly share code, notes, and snippets.

View foxleigh81's full-sized avatar
:octocat:

Alexander Foxleigh foxleigh81

:octocat:
View GitHub Profile
@foxleigh81
foxleigh81 / vmd
Last active October 24, 2019 10:29
DISABLE_AUTO_TITLE="true"
# Commonly used commands for VMD
vmd() {
# don't forget to set this variable to your vmd folder
vmdDir=~/Dev/vmd
# The variable below assumes you're on a .1. subnet, you'll need to change this
# if you are not, otherwise, leave it alone.
ip=$(ifconfig -a | awk '$1 == "inet" {print $2}' | grep 192.168.1.)
# No arguments passed, just go to vmd folder