If you are like me and you are used to using a terminal window on a Mac, using the Windows command prompt can be a bit frustrating. I like having basic functionality like tabs, short cuts to switch tabs, cut and paste with Ctrl+c and Ctrl+v, dragging the corner of a terminal to resize, all of which I take for granted on my Mac. Fortunately, Console2 and UnixUtils can help (with a little customization).
Console2 is an open source project that provides a tabbed version of the windows console app. However, it is much more than that. Even though the default settings are less than desirable, Console2 is highly customizable. So you can easily change the defaults to have all kinds of amazing features such as “select to copy”, Ctrl+c to copy, Ctrl+v to paste, drag the corner of the window to resize it, short cuts to open new tabs, switch tabs, etc. Yep, you can make it function like a normal command prompt!
Download the zip file, extract it, and run Console2.exe.
So far it does not look like much of an improvement, but don’t worry, we have some customizing to do.
Go to Edit -> Settings
“Appearance” – customize the font, font size, and text colour. I like Consolas, 12 point font, and a nice green text colour to remind me of the default on my Mac.
“Appearance -> More” – hide the toolbar and status bar, ensure tabs are displayed, and set some cool transparency.
“Behaviour” – ensure “Copy on select” is checked. This will allow you to select text on the console window and have it automatically put on the clipboard (Woohoo!).
“Hotkeys” – set the “New Tab 1” hotkey to use Ctrl+T.
To show you how to setup a second type of command prompt, lets use PowerShell as an example.
Enter a name for the new Console window (“PowerShell”), set the path to the PowerShell executable, and add an icon.
Now you will see both “Console2” and “PowerShell” in the list of types of available tabs.
Of course, also install UnixUtils as well to make your life a little easier. To install UnixUtils, all you have to do is download the zip file, unzip it somewhere, such as “C:\UnxUtils” then add to your path “C:\UnxUtils\bin”. That is all, then you should have all of your favorite commands such as “ls” and “grep”.
Finally, a somewhat functional command prompt!