Skip to content

Instantly share code, notes, and snippets.

@manualbashing
Last active December 4, 2020 11:18
Show Gist options
  • Save manualbashing/d32753c8db194189aeeaedbbf6ce9419 to your computer and use it in GitHub Desktop.
Save manualbashing/d32753c8db194189aeeaedbbf6ce9419 to your computer and use it in GitHub Desktop.
Quickly copy paths from #WSL in windows compatible format

windows_path

Add the following alias to your profile:

alias ii="printf '\"%s\"' \$(wslpath -w \$PWD) | clip.exe;echo \"\u001b[33mCurrent windows path copied to clipboard.\""
published: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment