Created
January 8, 2019 11:14
-
-
Save willhbr/902b066e2b6196df305e9e24227dd0b8 to your computer and use it in GitHub Desktop.
Run something after something else
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
#!/bin/bash | |
__then() { | |
fg | |
echo "> $*" | |
"$@" | |
} | |
alias 'then:'=__then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment