Date: Tue, 11 Jul 2006 18:56:27 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Peter <petermatulis@yahoo.ca> Cc: freebsd-questions@freebsd.org Subject: Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution)) Message-ID: <20060711155627.GA99279@gothmog.pc> In-Reply-To: <20060711151843.44110.qmail@web60020.mail.yahoo.com> References: <20060711134909.GB78308@gothmog.pc> <20060711151843.44110.qmail@web60020.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-07-11 11:18, Peter <petermatulis@yahoo.ca> wrote: >>> 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? > > $ echo $SHELL > /usr/local/bin/bash > > $ grep peter /etc/passwd > peter:*:1002:100:User &:/home/peter:/usr/local/bin/bash > > Do I need to set up a different file (.bashrc)? GNU bash will not read .profile if you also have a .bash_profile file. What do you see in your HOME directory with: $ ls -ld .*profile .*rc In my local setup here, I see something like this: $ pwd /home/giorgos $ ls -ld .bash* .sh* .profile -rw------- 1 giorgos giorgos - 30103 Jul 11 18:47 .bash_history -rw-rw-r-- 1 giorgos giorgos - 318 Jul 11 17:47 .bash_profile -rw-rw-r-- 1 giorgos giorgos - 3742 Jul 11 18:17 .bashrc -rw-rw-r-- 1 giorgos giorgos - 1006 Mar 29 07:19 .profile -rw-rw-r-- 1 giorgos giorgos - 1433 Nov 18 2004 .shrc $
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060711155627.GA99279>