Re: X-Windows and Bash Settings
Jason Bauer wrote:
> I've got Debian Linux 1.3 using bash for a shell. When I go into X-Windows
> (Afterstep win. manager) I lose all of my aliases and other settings that
> get run in my .bash-profile when I login, and when i quit X the settings are
> back to how they should be. Is this just a bug or am I doing something
> wrong?
Yes (uh - it's not a bug ;-). aliases aren't inherited to subshells. They need
to be redefined if you want to use them in subshells. The best way is to use
aliases in .bashrc instead of .bash_profile (and to source .bashrc from
.bash_profile).
Ulf
--
#include <signature>
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: