

You can replace tools like ls or cat with modern equivalents that support full colour, unicode icons, git state and more. But other developer tooling has advanced quite a bit since then. Many of the terminal tools that come with unix environments are functionally similar to how they were 20 years ago. The latest version lets you run a full Ubuntu instance that integrates seamlessly with the underlying windows instance.īy using WSL2 you can have a (mostly) identical developer experience jumping between MacOS and Windows. Windows “WSL” (Windows Subsystem for Linux) is a great tool for this you can use on Windows 10 and newer. I need to use the same tools and the same experience on both. I regularly code on both MacOS and Windows machines and I was always annoyed how different the default experiences are on each. This might be ~/bash-profile or ~/zshrc for example. Set these env vars in the rc file for your shell. Open the Command Palette (Cmd+Shift+P) and type ‘shell command’ to find the Shell Command: Install ‘code’ command in PATH command.” From the Visual studio code documentation: “Launch VS Code.

The first step is to install code to your command line. toml all Setting vs code as the default editor in shell and git # this works for files without a filename extensionĭuti -s public.data allĭuti -s. Duti -s public.json allĭuti -s ain-text allĭuti -s public.python-script allĭuti -s public.shell-script allĭuti -s public.source-code allĭuti -s public.text allĭuti -s public.unix-executable all
