Skip to content

Instantly share code, notes, and snippets.

@BenHall
Last active May 4, 2020 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BenHall/9a6ef961da9c2a288bc4ab9e0f2d9836 to your computer and use it in GitHub Desktop.
Save BenHall/9a6ef961da9c2a288bc4ab9e0f2d9836 to your computer and use it in GitHub Desktop.
Allow a code block to be executed `some-command`{{execute}}
For multiple terminals, execute the command on HOST1 `some-command`{{execute "HOST1"}}
For multiple terminals, execute the command on HOST2 `some-command`{{execute "HOST2"}}
For multiple terminals, execute the command on T1 `some-command`{{execute "T1"}}
For multiple terminals, execute the command on T2 `some-command`{{execute "T2"}}
Allow a code block to be copied `some-command`{{copy}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment