home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23396 < prev    next >
Encoding:
Text File  |  1993-01-09  |  1.4 KB  |  36 lines

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