Open Cygwin with right click. No registry edit is required.


This tweak will allow you to open Cygwin via right click. No registry edit is required.
Assuming that you have installed Cygwin already.

 


On Win 7:
1. Download Cygwin Setup.exe and install chere package.
2. Right click and Open Cygwin as Administrator.
3. type "chere -i"  or "chere -i -t mintty" if you would like to use Mintty which I personally prefer.
4. Please leave a comment or g +1 or share on f or share on t below if this post helped you. This will keep me motivating.

Done!

12 comments:

Anonymous said...

Awesome help!!

Anonymous said...


$ chere -i -t mintty
Shell defaulting to sh defined for MP
/usr/bin/chere Error: Unknown shell sh

Supported shells:
ash bash cmd dash fish mksh pdksh posh tcsh zsh passwd

$ echo $SHELL
/bin/sh

$ getent passwd
????????:*:4294967295:4294967295:::
MP:*:400:401:,S-1-5-21-3057310190-824264485-1315356369-1116:/home/MP:/bin/sh

$ cat /etc/passwd


$ cat /etc/shells
/bin/sh
/bin/ash
/bin/bash
/bin/dash
/bin/mksh
/bin/pdksh
/bin/posh
/bin/tcsh
/bin/zsh
/usr/bin/sh
/usr/bin/ash
/usr/bin/bash
/usr/bin/dash
/usr/bin/mksh
/usr/bin/pdksh
/usr/bin/posh
/usr/bin/tcsh
/usr/bin/zsh

Anonymous said...

Sorry - I meant to ask - could you please tell me how to make my default shell bash as apposed to sh? (if that is in fact what I need to do)

Unknown said...

Fantastic!!
You made my day.

Unknown said...
This comment has been removed by the author.
ankit said...

Hi Yishai Gronich, Glad it helped you.

Anonymous said...

Perfect, I am impressed how easy it works. Thanks a lot

Pedro said...

Thanks from Portugal! (this post still rocks in 2016)

ankit said...

Thanks @Pedro..yay!

test said...

Thanks al lot , you saved day.

Oo^sai^oO said...

For me I had to 'Run as administrator' on cygwin.bat and type the following command, I had to mention bash as it was not able to understand the shell it is supposed to use.

chere -i -s bash

ZumaZuma said...

"and install chere package."

What is chere and how to install?
$ /usr/bin/chere
-bash: /usr/bin/chere: No such file or directory