-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy link to clipboard #42
Comments
Great idea, we might add this. Btw, I'm thinking of creating a new website so this may take a while. Thanks! |
For OS/X, it's |
For linux you can pipe into alias termbin='netcat termbin.com 9999'
alias setclip='xclip -selection c' So then I can do |
I've added some of these commands to our Readme file. Thank you! |
Nice - I actually had already previously created two scripts, xcopy.sh and xpaste.sh (I always use tab-key to auto-complete them, so I decided to leave the .sh suffix so one can see from filename that it's a shell script). Lately I also wrote scripts to copy whatever is in 'screen' pastebuffer with xcopy, or paste into the pastebuffer of screen session. |
I imagine that the user wants the link copied to clipboard in most usecases
On linux, when xclip is installed the alias can be adjusted to:
"nc termbin.com 9999 | xclip -selection c"
That way the link is copied to clipboard. I do not know how this could be done on other platforms but it might be a useful hint to include on the website.
The text was updated successfully, but these errors were encountered: