A UNIX-like working environments for M$-Windows.
pro:
cons:
#!/bin/sh # Get latest package list from server #mingw-get update # Upgrade already installed packages #mingw-get upgrade # Install important software packages from MinGW archives #mingw-get install msys-wget #mingw-get install msys-zip #mingw-get install msys-unzip #mingw-get install msys-man #mingw-get install msys-perl #mingw-get install msys-vim #mingw-get install mintty # Install optional extra software tools OPT=`pwd -W | sed -e 's/\([A-Z]:\).*/\1\\opt/'`
In order to get an Open MinGW Bash here… item in the windows explorer's context menu add one the below to your registry 1) 2):
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\MinGW_Here] @="&MinGW: Open Bash here..." [HKEY_CLASSES_ROOT\Directory\shell\MinGW_Here\command] @="C:\\MinGW\\msys\\1.0\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\"" [HKEY_CLASSES_ROOT\Drive\shell\MinGW_Here] @="&MinGW: Open Bash here..." [HKEY_CLASSES_ROOT\Drive\shell\MinGW_Here\command] @="C:\\MinGW\\msys\\1.0\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\""
If you like to cut&paste from/to windows applications you may prefer MinTTY as console replacement:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\MinGW_Here] @="&MinGW: Open Bash here..." [HKEY_CLASSES_ROOT\Directory\shell\MinGW_Here\command] @="C:\\MinGW\\msys\\1.0\\bin\\mintty.exe /bin/bash --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\"" [HKEY_CLASSES_ROOT\Drive\shell\MinGW_Here] @="&MinGW: Open Bash here..." [HKEY_CLASSES_ROOT\Drive\shell\MinGW_Here\command] @="C:\\MinGW\\msys\\1.0\\bin\\mintty.exe /bin/bash --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\""
References: