Use with_status to run commands and have your arduino let you know when they are done.
with_status starts by turning the LED off before running your command.
Once your command completes, it will turn the LED on. Green if the command succeeded, and red if it failed.
I use this with long running commands (such as deploying to heroku), so I can start working on something else without forgetting about my process.
Copy both digicolor and with_status (without extension) to somewhere in your PATH and don't forget to chmod +x them.
Simple example:
with_status "ls" # green
with_status "ls this/does/not/exist" # redRails (because rails is slow sometimes):
with_status rake routes
with_status rake -T
with_status bundleHeroku processes:
with_status heroku db:pull
with_status "heroku maintenance:on && git push heroku master && heroku run rake db:migrate && heroku restart && heroku maintenance:off"
I love it, one small adjustment I had to do to
with_status.shwas to add"source ~/.zshrc"otherwise my aliases weren't being included.