<h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">The ability to create a new tab with 'Run as a different user' option would be nice. I often need to run shells as different users.</p>
<h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">Add ability to open new tabs that run one (or more) custom command before the opening</p>

<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">In the profile.json add add a new field, for example <code class="notranslate">commands</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
            &quot;acrylicOpacity&quot; : 0.5,
            &quot;background&quot; : &quot;#012456&quot;,
            &quot;closeOnExit&quot; : true,
            &quot;colorScheme&quot; : &quot;Campbell&quot;,
            &quot;commandline&quot; : &quot;powershell.exe&quot;,
            &quot;cursorColor&quot; : &quot;#FFFFFF&quot;,
            &quot;cursorShape&quot; : &quot;bar&quot;,
            &quot;fontFace&quot; : &quot;Consolas&quot;,
            &quot;fontSize&quot; : 10,
            &quot;guid&quot; : &quot;{61c54bbd-c2c6-5271-96e7-009a87ff44bf}&quot;,
            &quot;historySize&quot; : 9001,
            &quot;icon&quot; : &quot;ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png&quot;,
            &quot;name&quot; : &quot;Conda&quot;,
            &quot;padding&quot; : &quot;0, 0, 0, 0&quot;,
            &quot;snapOnInput&quot; : true,
            &quot;startingDirectory&quot; : &quot;%USERPROFILE%&quot;,
            &quot;useAcrylic&quot; : true,
            &quot;commands&quot;: [&quot;$env:Path += &quot;;PathToConda&quot;&quot;]
}"><pre class="notranslate"><code class="notranslate">{
            "acrylicOpacity" : 0.5,
            "background" : "#012456",
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "commandline" : "powershell.exe",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Consolas",
            "fontSize" : 10,
            "guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
            "name" : "Conda",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : true,
            "commands": ["$env:Path += ";PathToConda""]
}
</code></pre></div>
<p dir="auto">where <code class="notranslate">commands</code> are the commands that the terminal will execute before opening the new tab, in the example it will add the path to conda to the environmental path for the session</p>
<p dir="auto">a dirty image of what i am talking about</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/21184718/65813366-a9d2ed80-e1d4-11e9-822f-1200adc100ed.png"><img src="https://user-images.githubusercontent.com/21184718/65813366-a9d2ed80-e1d4-11e9-822f-1200adc100ed.png" alt="terminal" style="max-width: 100%;"></a></p>