From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 16:05:49 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1CB616A4E5 for ; Tue, 11 Jul 2006 16:05:49 +0000 (UTC) (envelope-from petermatulis@yahoo.ca) Received: from web60020.mail.yahoo.com (web60020.mail.yahoo.com [209.73.178.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 3776F43D6D for ; Tue, 11 Jul 2006 16:05:49 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 64412 invoked by uid 60001); 11 Jul 2006 16:05:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iHB5o820OHIjiOOs9CeZh/c+75ek43jOfhrjhzO6qYAMDkIaL2EPFwd2lJTCSILIXu7O8jbz48HMHdpxwCYPq30CRmkUj9xPkCVyvF8Fy2SICN/TvMncuudByv4JwaTg5v27OZ6ces7SzLI/j5zYgb3PmU1QLdqXmpWxcnHLYr0= ; Message-ID: <20060711160548.64410.qmail@web60020.mail.yahoo.com> Received: from [66.131.121.105] by web60020.mail.yahoo.com via HTTP; Tue, 11 Jul 2006 12:05:48 EDT Date: Tue, 11 Jul 2006 12:05:48 -0400 (EDT) From: Peter To: Giorgos Keramidas In-Reply-To: <20060711155627.GA99279@gothmog.pc> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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)) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 16:05:49 -0000 --- Giorgos Keramidas wrote: > On 2006-07-11 11:18, Peter 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 $ ls -ld .*profile .*rc -rw-rw---- 1 peter users 767B Jul 29 2005 .cshrc -rw------- 1 peter users 26B May 2 11:08 .dmrc -rw-rw---- 1 peter users 331B Jul 29 2005 .mailrc -rw-rw---- 1 peter users 31B Jun 28 21:33 .mcoprc -rw-rw---- 1 peter users 1.6K Jul 4 15:31 .profile -rw-r--r-- 1 peter users 616B Jun 19 22:10 .screenrc -rw-rw---- 1 peter users 975B Jul 29 2005 .shrc -rw-rw---- 1 peter users 402B Jul 11 09:29 .xinitrc __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com