Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: perlspinr AT att DOT net To: cygwin AT cygwin DOT com Subject: Cygwin BASH prompt a little weird? Date: Mon, 06 May 2002 18:53:40 +0000 Message-Id: <20020506185342.QGHB2855.mtiwmhc25.worldnet.att.net@webmail.worldnet.att.net> Hello, In Cygwin using this version of BASH, my attempts to get a simple name of the shell interpreter into my prompt (PS1) using escaped-s ('\s'), which should work accoding to http://www.linuxselfhelp.com/HOWTO/Bash-Prompt- HOWTO/bash-prompt-escape-sequences.html does not give the basename of of the shell but the relative path by which I invoked bash: '/bin/bash'. The HOWTO above states: \s the name of the shell, the basename of $0 (the portion following the final slash) Is Cygwin not compliant with this? Thanks, Soren Andersen -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/