Created
July 16, 2021 21:55
-
-
Save bioshazard/de6cebb95ad1fe527ae45557d2fbba2f to your computer and use it in GitHub Desktop.
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 -e | |
# Generates a detached tmate session, perfect to debug pipelines in-line | |
tmate -S /tmp/tmate.sock new-session -d | |
tmate -S /tmp/tmate.sock wait tmate-ready | |
tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}' | |
tmate -S /tmp/tmate.sock wait-for new-session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment