<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sunny Shankar</title>
    <description>The latest articles on DEV Community by Sunny Shankar (@sunny18).</description>
    <link>https://dev.to/sunny18</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F374777%2Fbb1e183c-c719-4722-b0e8-25bf1ba9471c.jpg</url>
      <title>DEV Community: Sunny Shankar</title>
      <link>https://dev.to/sunny18</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sunny18"/>
    <language>en</language>
    <item>
      <title>Code in Windows, run in Linux!</title>
      <dc:creator>Sunny Shankar</dc:creator>
      <pubDate>Mon, 27 Apr 2020 20:48:23 +0000</pubDate>
      <link>https://dev.to/sunny18/code-in-windows-run-in-linux-5489</link>
      <guid>https://dev.to/sunny18/code-in-windows-run-in-linux-5489</guid>
      <description>&lt;p&gt;Currently I'm using Ubuntu on Windows with Oh My ZSH Shell.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eRoj_vGZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/tts5l729bo7orwcbs9uw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eRoj_vGZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/tts5l729bo7orwcbs9uw.png" alt="Alt Text" title="Ubuntu on Windows+ Oh My ZSH Shell" width="865" height="575"&gt;&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZzRwgU8U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/do9l9kmkqz0cch3v975w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZzRwgU8U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/do9l9kmkqz0cch3v975w.png" alt="Alt Text" title="Ubuntu Bash + VS Code" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is are the steps on how I got it running like seen above.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install Windows Subsystem Linux —&lt;/strong&gt;&lt;a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10"&gt; https://docs.microsoft.com/en-us/windows/wsl/install-win10&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install Ubuntu on Windows from Microsoft Store —&lt;/strong&gt;&lt;a href="https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6"&gt; https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install ZSH&lt;/strong&gt; on Ubuntu Bash &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Run this Command on Ubuntu Bash &lt;br&gt;
  &lt;code&gt;sudo apt-get install zsh&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open Bash Profile by Command &lt;br&gt;
   &lt;code&gt;vim ~/.bashrc&lt;/code&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add this at the top of File to set ZSH as defualt:&lt;br&gt;
   &lt;code&gt;bash -c zsh&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Install Oh My ZSH&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run this command &lt;code&gt;sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Change the ZSH Theme to agnoster
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open Bash Profile&lt;br&gt;
  &lt;code&gt;vim ~/.bashrc&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Change ZSH_THEME to agnoster from robbyrussell&lt;br&gt;
   &lt;code&gt;# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes&lt;br&gt;
ZSH_THEME="agnoster"&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Use Ubuntu Bash in VS Code&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Install the &lt;a href="https://aka.ms/vscode-remote/download/extension"&gt;Remote Development Extension Pack&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Open a Remote Folder or Workspace&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open a WSL terminal window (using the start menu item or by typing &lt;code&gt;wsl&lt;/code&gt; from a command prompt / PowerShell).&lt;/li&gt;
&lt;li&gt;Navigate to a folder you'd like to open in VS Code (including, but not limited to, Windows filesystem mounts like &lt;code&gt;/mnt/c&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;code .&lt;/code&gt; in Bash. This should take a while, and is only needed once.&lt;/li&gt;
&lt;li&gt;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!
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3wazPZtq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/eix9dfa4ad2tcmrotmee.png" alt="Alt Text" width="278" height="150"&gt;
That's it! Any VS Code operations you perform in this window will be executed in the WSL environment.&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Hope You enjoy this tips.
&lt;/h4&gt;

</description>
      <category>bash</category>
      <category>ubuntu</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
