Skip to content

Instantly share code, notes, and snippets.

@Ryex
Last active February 20, 2023 17:27
Show Gist options
  • Save Ryex/3181b84e5b6914218f9a18bded08aa56 to your computer and use it in GitHub Desktop.
Save Ryex/3181b84e5b6914218f9a18bded08aa56 to your computer and use it in GitHub Desktop.
@cybik
Copy link

cybik commented Feb 20, 2023

echo $link | $copy_command

idea for xsel: do xsel --clipboard -o. Same for xclip and wl-copy, if they have a "copy and also stdout" mode. That way you don't need to echo the link again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment