-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[pbpaste workaround on wsl2] #269
Comments
If you are using powershell Get-Clipboard is also good replacement. |
Using xsel covers it. Put this into your bashrc config alias pbcopy='xsel --clipboard --input' |
I had tried the two above on wsl2...didn't work for me maybe I didn't understand how to use them |
Hello,
My name is Mikayla, I am NetworkChucks admin. Thanks for reaching out, for
any questions we do want to encourage you to use our discord as there are a
lot of people who would love to help you there! Here is the link:
https://discord.gg/networkchuck
Hope this helps,
Mikayla
…On Wed, Mar 20, 2024 at 2:37 AM Ricky Macharm, MScFE < ***@***.***> wrote:
I had tried the two above on wsl2...didn't work for me maybe I didn't
understand how to use them
—
Reply to this email directly, view it on GitHub
<#269 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALJ4OETRBTXLTZV3CLMTJ23YZE4BZAVCNFSM6AAAAABE2L5LJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYHE2TKMJWGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
The top two responses will only work outside of WSL. |
I am able to copy and paste my files within the command line in powershell or access the clipboard but when I run the paste with the | fabric -pattern custom_1 it says pattern not found . Any ideas what am I doing wrong ? Thanks |
Is your pattern included when you run with --list |
no, its not included in the --list . When I put the command Get-Clipboard | fabric --pattern custom1 seems to run it but then I get the message, pattern not found |
I decide to retry this method today but with the tweak that has been working for me and it worked. I use
Thanks @theNetworkChuck for your shortcuts.
So, when you set |
Then it looks you want to use a custom pattern. In that case you need to review information in the link. (Open new issue as the problem you face does not seem to be related to the current one) |
...But i found a workaround that could help
win32yank.exe -o
accesses the clipboard of windows to extract teh info stored therecomplete code sample that worked for me:
win32yank.exe -o | fabric --pattern extract_main_idea
The text was updated successfully, but these errors were encountered: