cs50 / codespace

https://cs50.readthedocs.io/cs50/codespace
GNU General Public License v3.0
114 stars 342 forks source link

Rely on `which -a code` instead of `VSCODE_GIT_ASKPASS_NODE` to find `code` #64

Closed dmalan closed 2 years ago

dmalan commented 2 years ago
  1. Eliminate https://github.com/cs50/codespace/blob/e3e85cef24fb5470585231ba16175b3b5060e45b/etc/profile.d/codespace.sh#L37-L39, since /opt/cs50/bin already seems to have higher precedence in PATH?
  2. Parse which -a code to get path to code
rongxin-liu commented 2 years ago

https://github.com/cs50/codespace/commit/75e0e1d9140e427d0135d843bd3a7a2282a27f63