home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- From: df@eyrie.demon.co.uk (Derek Fawcus)
- Path: sparky!uunet!pipex!demon!eyrie.demon.co.uk!df
- Subject: Re: X-windows & aliases
- Reply-To: df@eyrie.demon.co.uk
- References: <1ilme1INN8p3@matt.ksu.ksu.edu> <1159.1189.uupcb@satalink.com>
- Distribution: world
- X-Mailer: cppnews $Revision: 1.30 $
- Organization: None
- Lines: 21
- Date: Fri, 8 Jan 1993 18:37:32 +0000
- Message-ID: <726543452snx@eyrie.demon.co.uk>
- Sender: usenet@demon.co.uk
-
- In article <1ilme1INN8p3@matt.ksu.ksu.edu> probreak@matt.ksu.ksu.edu (James Michael Chacon) writes:
- > john.will@satalink.com (John Will) writes:
- >
- > >Can anyone tell me how you get your aliases that appear in .profile to
- > >be recognized when you're running X-Windows? I have X running like a
- > >champ, but it's a problem to be without all the aliases that I know
- > >and love. :-) I have the same problem with .emacs, it doesn't seem
- > >to find that either. This must be really simple, I just can't fine
- > >the answer in any of my books or the FAQ.
- >
- > According to the bash man page, .profile is only sourced if you are coming
- > in from a login shell. I believe you can tell xterm to use the -ls option
- > to simulate a login shell.
- >
- > Or, you can invoke bash with the -login option.
-
- Or better yet, places your aliases in your .bashrc file. You may need to
- source this from .profile (as I can't remember at the moment).
-
- --
- Derek Fawcus (G7FVS) df@eyrie.demon.co.uk
-