<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.418
Windows Terminal version: 0.6.2951.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.418
Windows Terminal version: 0.6.2951.0
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Open the new Windows Terminal (Preview), then click on Azure Cloud Shell Menu (Ctrl + Shift + 4)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6307623/67605033-95423080-f753-11e9-9b61-3014f91718ed.png"><img src="https://user-images.githubusercontent.com/6307623/67605033-95423080-f753-11e9-9b61-3014f91718ed.png" alt="image" style="max-width: 100%;"></a></p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">A shell logged into my Azure Portal.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">When I try to open the Azure Cloud Shell, it does not displays the code requested by the Azure portal:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6307623/67604901-3e3c5b80-f753-11e9-93cc-0c5fb33a9241.png"><img src="https://user-images.githubusercontent.com/6307623/67604901-3e3c5b80-f753-11e9-93cc-0c5fb33a9241.png" alt="image" style="max-width: 100%;"></a></p>
<h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">When opening a new tab AND OPTIONALLY if the current program in the active shell is not the shell program, use the current path of the active shell as the default path for the <code class="notranslate">newTab</code> action.</p>

<h1 dir="auto">Proposed technical implementation details (optional)</h1>

<p dir="auto">There should be an option for this.  <code class="notranslate">useCurrentPath</code> in <code class="notranslate">globals</code> which takes in a string of "never", "always", "whenNotShell"</p>