k4m4 / terminals-are-sexy

💥 A curated list of Terminal frameworks, plugins & resources for CLI lovers.
https://terminalsare.sexy/
Creative Commons Zero v1.0 Universal
12.25k stars 606 forks source link

Add howdoi #45

Closed leighklotz closed 7 years ago

leighklotz commented 7 years ago

Motivating example for merge approval:

$ howdoi git revert file to master
git checkout filename

$ howdoi bash check for empty file
#!/bin/bash -e

if [ -s diff.txt ]
then
        rm -f empty.txt
        touch full.txt
else
        rm -f full.txt
        touch empty.txt
fi