Currently I'm using Ubuntu on Windows with Oh My ZSH Shell.
Here is are the steps on how I got it running like seen above.
Install Windows Subsystem Linux — https://docs.microsoft.com/en-us/windows/wsl/install-win10
Install Ubuntu on Windows from Microsoft Store — https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6
Install ZSH on Ubuntu Bash
Run this Command on Ubuntu Bash
sudo apt-get install zsh
Open Bash Profile by Command
Add this at the top of File to set ZSH as defualt:
bash -c zsh
Install Oh My ZSH
- Run this command
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Open Bash Profile
Change ZSH_THEME to agnoster from robbyrussell
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
Use Ubuntu Bash in VS Code
- Install the Remote Development Extension Pack
Open a Remote Folder or Workspace
- Open a WSL terminal window (using the start menu item or by typing
wslfrom a command prompt / PowerShell).
- Navigate to a folder you'd like to open in VS Code (including, but not limited to, Windows filesystem mounts like
code .in Bash. This should take a while, and is only needed once.
- Once finished, you now see a WSL indicator in the bottom left corner, and you'll be able to use VS Code as you would normally! That's it! Any VS Code operations you perform in this window will be executed in the WSL environment.