From: "KARR, DAVID (ATTCINW)" <dk068x@att.com>
To: <cygwin@cygwin.com>
Subject: How to run bash in rxvt with both login shell and in a specific directory?
Date: Wed, 09 Sep 2009 17:10:00 -0000 [thread overview]
Message-ID: <E0529A8FFC2C9143A5F1BB9A89101D060688426B@BD01MSXMB018.US.Cingular.Net> (raw)
I'd like to have a command line that will run bash inside rxvt, both as
a login shell (so I get all my paths and profile) and in a specific
directory. I know how to get it to a specific directory, and I know how
to make it a login shell, but I can't figure out how to get both.
If I use this:
C:\cygwin\bin\rxvt.exe -ls -cd "path" -e /usr/bin/bash -l
I get a login shell, but at my home dir, not at the specified path.
If I remove the last "-l", it goes to the correct directory, but it
didn't appear to load my profile (PATH isn't correct, for instance).
--
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
next reply other threads:[~2009-09-09 17:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-09 17:10 KARR, DAVID (ATTCINW) [this message]
2009-09-09 17:24 ` Mark J. Reed
2009-09-09 17:31 ` Gary Johnson
2009-09-09 17:41 ` Mark J. Reed
2009-09-09 20:21 ` KARR, DAVID (ATTCINW)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E0529A8FFC2C9143A5F1BB9A89101D060688426B@BD01MSXMB018.US.Cingular.Net \
--to=dk068x@att.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).