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
#!/usr/bin/env sh | |
# LATEST VERSION OF THIS SCRIPT: https://gist.github.com/swayducky/8ba8f2db156c7f445d562cdc12c0ddb4 | |
# FORKED FROM: https://gist.github.com/ddwang/0046da801bcb29d241869d37ad719394 | |
# 1) No longer has a hard-coded COMMIT | |
# 2) Auto-symlinks a "code" script to avoid wslCode.sh breaking | |
# HOW TO INSTALL: | |
# 1) Remove "c:\Users\<USER_NAME>\AppData\Local\Programs\cursor\resources\app\bin" from Windows Environment Settings | |
# 2) Modify this script with your Windows <USER_NAME> (NOT your WSL username) in the VSCODE_PATH variable |