Skip to content

Instantly share code, notes, and snippets.

@mnagy
Last active August 29, 2015 14:18
Show Gist options
  • Save mnagy/50e2d30520b56a41aded to your computer and use it in GitHub Desktop.
Save mnagy/50e2d30520b56a41aded to your computer and use it in GitHub Desktop.
Put this in a bin directory. You can now copy&paste blocks of commands that have a dollar shell prompt prefixed.
#!/bin/bash
exec "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment