Re: alias not passed to xterm
Thomas J. Malloy wrote:
> My aliases do not seem to be passed correctly to xterm I am using OLVWM.
> The following alias is in my .alias file "alias xboard='xboard -size small'
> This does not work from xterm, but it does work if I execute it through a
> BASH box. This is true even though env in the xterm shows that bash is
> the shell. Also the commmand "type -all xboard" does not return the alias
> in xterm, nor on the consol ( not in windows ). It only shows both the
> original command and the alias when I am in the BASH shell window.
> Since I assumed that .alias was global. I am confused by this. Any
> insights are appreciated. Thank you
I never use the .alias file, but I assume that this file is sourced in
your .bash_profile? If you start an xterm without any options, you get
a bash that doesn't read your ~/.bashrc file. If you want a login shell,
i.e., one that does read your .bash_profile, you need `xterm -ls'.
E.L. Meijer (email@example.com) | tel. office +31 40 2472189
Eindhoven Univ. of Technology | tel. lab. +31 40 2475032
Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com