From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5085 invoked from network); 5 Jun 2004 21:36:30 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.86) by ns1.primenet.com.au with SMTP; 5 Jun 2004 21:36:30 -0000 Received: (qmail 21655 invoked from network); 5 Jun 2004 21:35:57 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Jun 2004 21:35:57 -0000 Received: (qmail 23699 invoked by alias); 5 Jun 2004 21:35:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7489 Received: (qmail 23689 invoked from network); 5 Jun 2004 21:35:46 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 5 Jun 2004 21:35:43 -0000 Received: (qmail 21055 invoked from network); 5 Jun 2004 21:35:43 -0000 Received: from erouter0.it-datacntr.louisville.edu (136.165.5.194) by a.mx.sunsite.dk with SMTP; 5 Jun 2004 21:35:41 -0000 Received: from [192.168.1.35] (tiger.slug.louisville.edu [136.165.47.43]) by erouter0.it-datacntr.louisville.edu (Postfix) with ESMTP id 922114A016 for ; Sat, 5 Jun 2004 17:35:40 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <80332FAE-B728-11D8-A891-000502631FBD@louisville.edu> References: <80332FAE-B728-11D8-A891-000502631FBD@louisville.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <43C39A74-B738-11D8-9326-000A95EDC31A@louisville.edu> Content-Transfer-Encoding: 7bit From: Aaron Davies Subject: Re: Problem with Named Dirs & GNU Screen Date: Sat, 5 Jun 2004 17:35:29 -0400 To: zsh-users@sunsite.dk X-Mailer: Apple Mail (2.613) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=1.0 required=6.0 tests=FROM_ENDS_IN_NUMS autolearn=no version=2.63 X-Spam-Hits: 1.0 On Jun 5, 2004, at 3:42 PM, Aaron Davies wrote: > On Saturday, June 5, 2004, at 03:39 PM, Dan Nelson wrote: > >> In the last episode (Jun 05), Aaron Davies said: >> >>> I've been trying to figure out the named dirs issue I wrote about >>> several weeks ago, but I'm still having problems. The situation is >>> this: I would like to create a named dir "palmfiles" expanding to >>> "~/Documents/Palm/Users/Aaron Davies/Files to Install". To this end, >>> I >>> have in my .zprofile the following line: >>> >>> export palmfiles=~/Documents/Palm/Users/Aaron\ Davies/Files\ to\ >>> Install >>> >>> and in my .zshrc: >>> >>> setopt AUTO_NAME_DIRS >> >> Try putting that setopt in .zprofile, _above_ your variable >> definition, >> or move the variable definition into .zshrc. The execution order of >> startup scripts is: >> >> .zshenv .zprofile .zshrc .zlogin > > I moved the variable definition into zshrc, which did it. I could have > sworn I'd tried that before . . . . Thanks! BTW, I also tried putting them both in zprofile, which didn't work from within screen. It looks like it's not called again when zsh is started by screen--I guess it must be started as a non-login shell? -- Aaron Davies agdavi01@louisville.edu