This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Deafult to bash so $chere will work (possibly?)
- From: Michelle Pace <michelle at michellepace dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 24 Aug 2014 06:50:26 +0200
- Subject: Deafult to bash so $chere will work (possibly?)
- Authentication-results: sourceware.org; auth=none
Hello,
I would like Cygwin in the context menu of my Windows 7 machine (I
have admin rights).
I'm not sure really why the chere command is not working since I've
just read "sh is actually really bash" and my .bashrc file is
definitely getting used. Additionally there is nothing in my passwd
file as I thought I should just replace "sh" with "bash". Finally,
setting $SHELL to /bin/bash also did not work.
QUESTION: Could anyone please point out what I need to do to get my
chere command working?
-----------------------------------------------------------------------------------------------------------
My Story
-----------------------------------------------------------------------------------------------------------
$ 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
<there was nothing in this file, nothing at all!! >
$ 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
Thank-you,
Michelle
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple