Last Updated: February 25, 2016
·
1.202K
· milgner

Starting Total Commander from Cygwin/Git Bash

You'll need the cygpath utility from the Cygwin distribution.

Then, to easily invoke Total Commander for the current path from within the Git Bash, set up a Bash alias like this:

alias tc='/C/totalcmd/TOTALCMD64.EXE //O "$(cygpath -w -a -t windows "`pwd`")" 2>&1>NUL & disown'

In case your Total Commander installation directory differs or is already in your $PATH, you're free to change or leave out the path qualifier to its executable.