You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explore the possibility to add a command to copy evaluation result #753
I mimic this by adding these two methods to my ~/.irbrc, which use the pbcopy and pbpaste command line utilities.
# Copies the input to the user's clipboard.defpbcopy(input)str=input.to_sIO.popen('pbcopy','w'){ |f| f << str}strend# Returns a string containing the contents of the user's clipboard.defpbpaste`pbpaste`end
Activity
amomchilov commentedon Oct 11, 2024
macOS only
I mimic this by adding these two methods to my
~/.irbrc, which use thepbcopyandpbpastecommand line utilities.[DRAFT] - Add copy command
[DRAFT] - Add copy command
Add copy command
Add copy command
Add copy command
Add copy command
Add copy command
Add copy command
Add copy command
Add copy command
Add copy command (ruby#1044)
[ruby/irb] Add copy command (ruby/irb#1044)
[ruby/irb] Add copy command (ruby/irb#1044)