make sure /usr/local/bin is head of path
don't use vi mode on command line