Last active
November 28, 2018 22:33
-
-
Save NateLehman/812160ae0e82fa06ead18265bf005c19 to your computer and use it in GitHub Desktop.
fish alias commands for copy and paste to system clipboard on WSL (flavored like osx)
This file contains 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
function pbcopy --description 'alias pbcopy /mnt/c/windows/system32/clip.exe' | |
/mnt/c/windows/system32/clip.exe $argv; | |
end |
This file contains 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
function pbpaste --description 'alias pbpaste powershell.exe -Command Get-Clipboard' | |
powershell.exe -Command Get-Clipboard $argv | dos2unix; | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment