Skip to content

Instantly share code, notes, and snippets.

@willhbr
Created January 8, 2019 11:14
Show Gist options
  • Save willhbr/902b066e2b6196df305e9e24227dd0b8 to your computer and use it in GitHub Desktop.
Save willhbr/902b066e2b6196df305e9e24227dd0b8 to your computer and use it in GitHub Desktop.
Run something after something else
#!/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