Open Bash In Current Directory 1.0
Open Bash In Current Directory 1.0
This script uses a portable version of Cygwin when Windows Subsystem for Linux is not available to provide Linux bash emulation in Windows environments. It will open bash in the current directory of the target panel.
The script will work only if the Windows Subsystem for Linux is installed or if Cygwin portable is available in the same directory. It was designed to work with Cygwin Portable that is installed using this script: https://sourceforge.net/projects/cygwin-portable/
The script works in both 32-bit and 64-bit versions and is available in the download below.
To set it up, either you will have to:
1- Download Portable Cygwin and install it in a separate directory.
2- Download the file available here.
3- Extract "LinuxShell.bat" from the downloaded file.
4- Copy "LinuxShell.bat" to the directory where you installed Portable Cygwin in the first step.
This is how to setup the button (see screenshot below):
Command: Path_to_this_utility\LinuxShell.bat
Parameters: "%P"
Start path: Path_to_this_utility\
Run minimized: check
You can choose to adopt Cygwin's icon (go to the directory where it was downloaded and go to Path_to_this_utility\App\cygwin\Cygwin.ico or any icon of your preference. In the screenshot below, a Tux icon is being used. It was downloaded from https://iconarchive.com/show/operating-systems-icons-by-tatice/Linux-icon.html and available in the download below.
Please report any issues at https://gitlab.com/pplupo/total-commander
For more information, please visit https://gitlab.com/pplupo/total-commander/-/blob/master/README.md#open-bash-in-current-dir.
|
|