aterm -e screen does not source .bashrc (was: Re: been buggin'
me for a while now (console resolution))
Giorgos Keramidas
keramida at ceid.upatras.gr
Tue Jul 11 13:49:36 UTC 2006
On 2006-07-11 09:40, Peter <petermatulis at yahoo.ca> wrote:
>--- Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
>>On 2006-07-11 09:09, Peter <petermatulis at yahoo.ca> wrote:
>>> I have the following in my .xinitrc file:
>>>
>>> aterm -e screen &
>>>
>>> What is happening is that neither /etc/profile nor ~/.profile are
>>> being read. How can I get either of them to be sourced?
>>
>> By default, xterm, rxvt, aterm and various other terminal emulators
>> start non-login shells. This means that .profile is not sourced by
>> the
>> shell spawned by the terminal. You can enable a `login shell' inside
>> one of these terminal emulators with the -ls option:
>>
>> aterm -ls -e screen &
>>
>
> I added this option but I still do not get my ~/.profile sourced (no
> aliases). Going '. ~/.profile' gives me my aliases. How does aterm
> know what file to look for?
aterm doesn't care about .profile or other files. It starts a shell,
based on the $SHELL environment variable and your login shell from
`/etc/passwd'.
What shell are you using?
More information about the freebsd-questions
mailing list