Created
March 26, 2015 00:08
-
-
Save funkymonkeymonk/2b46a0910fb895596a48 to your computer and use it in GitHub Desktop.
"echo and run"
echo the argument to the shell, the run the command then wait for user input to continue. I use this to script my demos so I don't have to worry about typos when I'm presenting.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ear { | |
clear | |
echo $1 | |
$1 | |
read -n 1 -s | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment