It’s so easy to write little scripts and execute them at a later time with the standard command-line tooling available in unix-like operating systems, but if you plan on having them execute while you are out and about, it would be nice to get a notification on your phone that it worked (or didn’t work).

If you’re happy with a simple email notification, then luckily this can be done with one simple line of code!

On a mac:

1
echo "Hello" | mail -s "Your alert" [email protected] -f [email protected]

On *nix:

1
echo "Hello" | mail -s "Your alert" [email protected] -aFrom:[email protected]

Search and replace, vim and git

Search and replace, vim and git Continue reading

Using netrw instead of NERDTree for Vim

Published on December 28, 2016