Skip to content

Instantly share code, notes, and snippets.

@Yousuf28
Last active February 11, 2024 19:01
Show Gist options
  • Save Yousuf28/bc161411ac4cef5287b366d9e5ffff53 to your computer and use it in GitHub Desktop.
Save Yousuf28/bc161411ac4cef5287b366d9e5ffff53 to your computer and use it in GitHub Desktop.
windows git bash (copy from clipboard)
# from terminal to clipboard
echo "hello world" > /dev/clipboard
pass show personal/loom |head -n 1 > /dev/clipboard
# from clipboard to terminal
cat /dev/clipboard > save.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment