Created
July 18, 2019 18:13
-
-
Save Inndy/6a11b41d379dbb90a74d4b054cf85d73 to your computer and use it in GitHub Desktop.
Access system clipboard within WSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put these lines into your ~/.bashrc | |
alias paste="powershell.exe -Command Get-Clipboard" | |
alias copy="powershell.exe -Command 'Set-Clipboard([Console]::In.ReadToEnd())'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment