7 lines
180 B
Fish
7 lines
180 B
Fish
# Copy path to file to windows path
|
|
function cw
|
|
set -l wpath (wslpath -a -w (readlink -f "$argv[1]"))
|
|
echo Copied \"$wpath\" to clipboard
|
|
echo -n $wpath | clip.exe
|
|
end
|