Strict Standards: Redefining already defined constructor for class wpdb in /home/bombmin/bombinator.com/gamedev/wp-includes/wp-db.php on line 57

Deprecated: Assigning the return value of new by reference is deprecated in /home/bombmin/bombinator.com/gamedev/wp-includes/cache.php on line 36

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /home/bombmin/bombinator.com/gamedev/wp-includes/cache.php on line 384

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /home/bombmin/bombinator.com/gamedev/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl($output) in /home/bombmin/bombinator.com/gamedev/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el($output) in /home/bombmin/bombinator.com/gamedev/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el($output) in /home/bombmin/bombinator.com/gamedev/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el($output) in /home/bombmin/bombinator.com/gamedev/wp-includes/classes.php on line 560

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl($output) in /home/bombmin/bombinator.com/gamedev/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl($output) in /home/bombmin/bombinator.com/gamedev/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el($output) in /home/bombmin/bombinator.com/gamedev/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el($output) in /home/bombmin/bombinator.com/gamedev/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el($output) in /home/bombmin/bombinator.com/gamedev/wp-includes/classes.php on line 684

Deprecated: Assigning the return value of new by reference is deprecated in /home/bombmin/bombinator.com/gamedev/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/bombmin/bombinator.com/gamedev/wp-includes/theme.php on line 540

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GoogleSitemapGeneratorLoader::Enable() should not be called statically in /home/bombmin/bombinator.com/gamedev/wp-includes/plugin.php on line 164
Bombinator Game Development » Blog Archive » Cygwin: Bash Prompt Here

Cygwin: Bash Prompt Here

As I’ve already discussed it is quite easy to get yourself a nice little shell called Cygwin on Windows. Once you start using Cygwin it can be quite addictive, I can’t work on Windows without it. The biggest problem is that to get to any of your data outside of the home directory under Cygwin requires navigating through the sometimes unintuitive directory structure under Windows. Typically what happens is you locate the folder with the stuff you want to work on using the Windows explorer and then work your way to it again using Cygwin. This is a somewhat less than efficient use of your time.

Luckily Cygwin comes equipped with a little utility to help you out with this problem. It is called chere and make sure you install it when you install Cygwin. chere installs an entry in the context menu when you right click on directories named “Bash Prompt Here.” Selecting it will open a Cygwin shell with the current working directory set to the directory you right clicked on. To install it simply run this from Cygwin:

chere -i

For more information on chere run this from Cygwin:

man chere

3 Responses to “Cygwin: Bash Prompt Here”

  1. foo Says:

    Thanks for the heads up, I have a similar context menu for a windows console.

  2. Bombinator Game Development » Blog Archive » Windows XP PowerToys: Open Command Window Here Says:

    […] discussed previously how to add an entry to the Windows context menu that would allow you to open a Cygwin bash shell […]

  3. Open Cygwin Bash Shell Here » unitstep.net Says:

    […] I did some searching and found a myriad of solutions to my problem, most of which were somewhat complicated. Thankfully, I did find one link that suggested an easier solution. […]

Leave a Reply