Download com.bendaschel.onlogin.plist.
In a terminal, type the following commands
cp com.bendaschel.vagrantup.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/com.bendaschel.onlogin.plist
touch ~/.scripts/onlogin
# Add whatever shell commands you want to the onlogin script
chmod +x ~/.scripts/onlogin
launchctl start com.bendaschel.onlogin