-
Notifications
You must be signed in to change notification settings - Fork 120
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
Explore the possibility to add a command to copy evaluation result #753
Labels
Comments
macOS only I mimic this by adding these two methods to my # Copies the input to the user's clipboard.
def pbcopy(input)
str = input.to_s
IO.popen('pbcopy', 'w') { |f| f << str }
str
end
# Returns a string containing the contents of the user's clipboard.
def pbpaste
`pbpaste`
end |
Prajjwal
added a commit
to Shopify/irb
that referenced
this issue
Dec 11, 2024
Merged
Prajjwal
added a commit
to Shopify/irb
that referenced
this issue
Dec 11, 2024
tompng
pushed a commit
to tompng/ruby
that referenced
this issue
Jan 22, 2025
tompng
pushed a commit
to ruby/ruby
that referenced
this issue
Jan 22, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It could be very helpful to have a command to copy IRB's output without manually selecting a (potentially huge) chunk of text. For example:
Things to consider:
The text was updated successfully, but these errors were encountered: