Showing items from Productivity

How to Use CTRL+D To Close A PowerShell Window

If you’re familiar with using CTRL+D to exit out of your shell and want the same functionality for your PowerShell, here’s how to do it.

Open your PowerShell profile (Documents\PowerShell\Microsoft.PowerShell_profile.ps1):

notepad $PROFILE

and add this line:

Set-PSReadLineKeyHandler -Key Ctrl+d -Function DeleteCharOrExit

That’s it. Now reload your profile (or open a new terminal):

Continue Reading

Running Docker Quickstart Terminal Inside ConEmu

In trying to streamline my workflow I wanted to be able to run the Docker Quickstart Terminal from ConEmu. I’ve been working in ConEmu for all of my command line activity and it’s a way better experience overall. This post describes how to configure ConEmu so that you can get the Docker Quickstart Terminal to run inside of it. I’m going to assume you already installed ConEmu and the Docker Toolbox. This post is written against ConEmu 16.4.16.0 and Docker Toolbox 1.11.1. Let’s walk through this process now.

Continue Reading