Code Monkey home page Code Monkey logo

Comments (6)

megalithic avatar megalithic commented on August 21, 2024 1

i like the interim suggestion of dumping the tmate connection string into the system clipboard.

from tmate.

nviennot avatar nviennot commented on August 21, 2024

For the moment, you can type tmate show-messages in a shell within the tmate session.

Soon, there will be dedicated status bar or tmate. Related: #2

from tmate.

sheerun avatar sheerun commented on August 21, 2024

Can't tmate just run "tmate show-messages" when starting session?

from tmate.

nviennot avatar nviennot commented on August 21, 2024

that's tempting, but what if you launch tmate with vim instead of a shell, it's going to be weird.
But perhaps it's not really a use case worth worrying about.
Also, putting the connection string in the clipboard would be a good thing to do

from tmate.

acook avatar acook commented on August 21, 2024

tmate show-messages should end up in the main documentation, in the readme, in the --help etc. An example .tmate.conf which runs it automatically during a shell session would be good too.

from tmate.

megalithic avatar megalithic commented on August 21, 2024

@acook here's what i use.. after i fire up tmate i have a zsh function that is the following:

tmateip () {
  output=$(tmate show-message | grep -m 1 "Remote session:")
  echo ${output#*session: } # display it
  echo ${output#*session: } | pbcopy # and copy it to clipboard
}

from tmate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.