Clink: Add bash command line editing to Windows cmd.exe

Screenshot of windows cmd.exe shell running Clink

I have always hated the Windows command terminal. This little extension solves some of the headaches.

From the Clink page:

Clink enhances your productivity in Microsoft Windows’ “cmd.exe”.
If you’re familiar with Bash then you will be familiar with the changes that Clink brings to “cmd.exe” (it uses the same ‘Readline’ library that
Bash uses). It is a small utility to enhance “cmd.exe”, adding more powerful command line completion, editing, and history.

  • The same line editing as Bash (from GNU’s Readline library).
  • History persistence between sessions.
  • Scriptable completion with Lua.
  • New keyboard shortcuts;
    • Paste from clipboard (Ctrl-V).
    • Incremental history search (Ctrl-R/Ctrl-S).
    • Powerful completion (TAB).
    • Undo (Ctrl-Z).
    • Automatic “cd ..” (Ctrl-Alt-U).
    • Environment variable expansion (Ctrl-Alt-E).
  • Coloured and scriptable prompt.
  • Context sensitive completion;
    • Executables (and aliases).
    • Directory commands.
    • Environment variables
    • Thirdparty tools; Git, Mercurial, SVN, Go, and P4.
  • Auto-answering of the “Terminate batch job?” prompt.

Ack: grep-like tool written in Perl for searching source code from the command line

Ack logo

I use this all the time at work. I get people asking me all the time, “How do you get your grep results to look like that?”

From the ack website (via http://kkovacs.eu/):

  • Blazing fast: It’s fast because it only searches the stuff it makes sense
    to search.
  • Better search: Searches entire trees by default while ignoring Subversion,
    Git and other VCS directories and other files that aren’t your source code.
  • Designed for code search: Where grep is a general text search tool, ack
    is especially for the programmer searching source code. Common tasks take
    fewer keystrokes.
  • Highly portable: ack is pure Perl, so it easily runs on a Windows
    installation Perl (like Strawberry Perl) without modifications.
  • Free and open: Ack costs nothing. It’s 100% free and open source under
    Artistic License v2.0.

Ack screenshot