From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 15:57:11 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 59BD216A4DE for ; Tue, 11 Jul 2006 15:57:11 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D0FC43D45 for ; Tue, 11 Jul 2006 15:57:09 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.7/8.13.7/Debian-1) with ESMTP id k6BFuY6v009716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 11 Jul 2006 18:56:43 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.7/8.13.7) with ESMTP id k6BFuSqm099330; Tue, 11 Jul 2006 18:56:28 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.7/8.13.7/Submit) id k6BFuRsK099329; Tue, 11 Jul 2006 18:56:27 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 11 Jul 2006 18:56:27 +0300 From: Giorgos Keramidas To: Peter Message-ID: <20060711155627.GA99279@gothmog.pc> References: <20060711134909.GB78308@gothmog.pc> <20060711151843.44110.qmail@web60020.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060711151843.44110.qmail@web60020.mail.yahoo.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.688, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.71, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No 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 15:57:11 -0000 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 $