Add pbcopy for WSL2
dblume

dblume commited on 2022-01-16 08:31:50
Showing 1 changed files, with 1 additions and 0 deletions.

... ...
@@ -81,6 +81,7 @@ if [[ $(uname -s) == CYGWIN* ]]; then
81 81
     ulimit -n 1024 # for "duplicity"
82 82
 elif [[ -n "${WSL_DISTRO_NAME}" ]]; then
83 83
     export BROWSER=/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe
84
+    alias pbcopy='tee <&0 | /mnt/c/Windows/System32/clip.exe'
84 85
 fi
85 86
 
86 87
 # change the color of directories in the ls command
87 88