I love watching Netflix.
But, when I'm looking to watch Netflix I'm usually feeling pretty lazy. And what's worse than having to click chrome, then the url bar, AND THEN type in netflix.com? Soooo, much effort!
So as a fun little side project, I decided to use my bash scripting skills to the test. First, I created two commands, one for chrome and one for netflix, in a file named .bash_aliases located in my root (~) directory.
Then, to tell your shell to use these alias, you have add the file to your .bashrc using the below lines.
I put in an if statement to check for the file first so it doesn't crash sourcing your .bashrc if it can't find it.
Finally, to run this script, all you have to do is type netflix into your shell to launch Netflix, saving you a valuable ~2.5 seconds each you tune in! Under that assumption, every 720 times you launch Netflix, you'll have saved 30 minutes total, enough to watch a whole additional show!