delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/16/02:32:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <000901c1261c$9741dba0$4c7b1f3e@LEPER>
Reply-To: "Fergus on Linux" <fergus AT bonhard DOT uklinux DOT net>
From: "Fergus on Linux" <fergus AT bonhard DOT uklinux DOT net>
To: <cygwin AT cygwin DOT com>
Cc: "Fergus on Linux" <fergus AT bonhard DOT uklinux DOT net>
Subject: rxvt: inheritance: shell, path and aliases
Date: Thu, 16 Aug 2001 07:27:57 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

Thank you for a terrific distribution.
I have installed Cygwin in full and start it conventionally with
/bin/bash --login -i.
In ~/.bash_profile I set a path with PATH=, a prompt with PS1=; and also a
number of aliases -- for example
    alias rm="rm -i"
    alias ls="ls --color"
My question is this: when I open a rxvt terminal window with rxvt <Enter>,
then I find using echo $SHELL that the shell is still /bin/bash as required;
using echo $PATH the path is evidently preserved; the prompt is still as
required; but the aliases have _not_ been inherited.
Of course, I can re-define aliases in the rxvt window but this is a pain. Or
I can use some sort of script but this is untidy. Can you offer a suggestion
for why this problem might occur? Change the syntax for the way aliasing is
achieved in ~/.bash_profile? Tweak rxvt and update (if it is indeed a
problem with rxvt itself)?
Thank you very much for any help anybody might feel able to offer.
Fergus


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019