Dont try to run git or svn if its not installed. Dont attempt auto completion if complete is not available. Moved osx specific stuff to osx file