From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by sourceware.org (Postfix) with ESMTPS id 8FD6E3850430 for ; Sat, 16 Jan 2021 23:09:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8FD6E3850430 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1l0uh3-0003ta-S3 for cygwin@cygwin.com; Sun, 17 Jan 2021 00:09:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com From: Oleksandr Gavenko Subject: Re: Noticed that mintty starts non-login bash with "Win+R mintty Enter". Date: Sun, 17 Jan 2021 01:09:14 +0200 Organization: Oleksandr Gavenko , http://defun.work/ Message-ID: References: <744d526c-651f-a1d9-72af-f150478e732c@towo.net> <09bf01d6e36e$f2694020$d73bc060$@pdinc.us> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (cygwin) Cancel-Lock: sha1:hi3CZdVWEsiVccwwgPcpI3mkb+k= X-Spam-Status: No, score=3.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_OTHER_BAD_TLD, NML_ADSP_CUSTOM_MED, PDS_OTHER_BAD_TLD, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 23:09:20 -0000 On 2021-01-05, Jason Pyeron wrote: > I do not put Cygwin in my windows PATH, (anymore since about 10 years ago). Sometimes it is useful to have GNU utils at hands. I use Far Commander and in order to find directory size I type: du -s -m NAME Also having Cygwin staff in PATH allows to start program elevated easily ( NAME ). > I use an environment where settings are lost at logoff, so I have become > accustomed to launching it from the command prompt. > > I have not found it too difficult to type > > c:\cygwin64\bin\mintty /bin/bash -l It won't be productive for my workflow. I own dev PC, not restricted to corporate policies and launch mintty hundred times a day (have CDPATH and other convenience set as the environment is permanent). Though I might get rid of Cygwin from PATH too. For starting Emacs I wrote wrapper that run it elevated (and hides that irritating console as I use emacs-w32) - it is a pleasure to be able to edit Windows /etc/hosts from within Emacs )) Same wrapper can be written for Mintty and placed to PATH. Though I wouldn't do that because all IDEs are rely on git.exe from Cygwin... It is pity that Mercurial comes with "shell" launcher, so cannot be used by non-Cygwin programs. -- http://defun.work/