'Opening VSCode project from terminal displays blank folder structure

I'm using ZSH and installed the code command in path for VSCode, I have also made the settings to inherit the env in the integrated terminal. However, when I type in code . from my terminal it launches an empty VSCode folder structure, despite having a bunch of files and folders in it.

What am I missing?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source