mintty parameters

Tuesday, March 16th, 2010

When starting Mintty, it’s better to include the following parameters:
-e /bin/bash –login

Otherwise Mintty will use the path of windows: system PATH first, user PATH second, then cygwin path ==> this will cause Windows versions of cygwin commands such as FIND to be executed.

Other tip: /cygwin/etc/profile and ~/.bashrc are the common two files controlling the behavior of bash shells.

Advertisement

One comment on “mintty parameters

  1. SilversleevesX says:

    Thanks a lot for this tip. I was wondering where and how to get MinTTY to ignore the Windows “named-the-same” executables to the ones I use in Cygwin. FIND is the true bugger: try a simple cwd-maxdepth2-type’f’ and it gives you something like “File name referenced twice in command.” Annoying!

    Cheers.

    BZT

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.