zsh-users
 help / color / mirror / code / Atom feed
* Named Dirs Not Registered for Completion Until Used
@ 2004-05-01 17:43 Aaron Davies
  2004-05-01 21:37 ` Bart Schaefer
  2004-05-02 20:01 ` Peter Stephenson
  0 siblings, 2 replies; 4+ messages in thread
From: Aaron Davies @ 2004-05-01 17:43 UTC (permalink / raw)
  To: zsh-users

I'm trying to create a named dir ~palmfiles for my Palm installation 
directory, and I have the following line in my .zprofile:

export palmfiles=~/Documents/Palm/Users/Aaron\ Davies/Files\ to\ Install

When I start a new shell, I can say

cd ~palmfiles

and it will work, but what I *can't* do initially is

cd ~pa<tab>

It just beeps. After I've done

cd ~palmfiles

the tab completion works.

In order to remedy this, I've added the following line to .zprofile:

hash -d palmfiles=~/Documents/Palm/Users/Aaron\ Davies/Files\ to\ 
Install

but according to the zsh docs, I shouldn't have to do this. What do I 
need to do to make a named directory available for completion (=? 
present in hash table) immediately after shell startup?
-- 
     __                        __
    /  )                      /  )
   /--/ __.  __  ________    /  / __. , __o  _  _
  /  (_(_/|_/ (_(_) / / <_  /__/_(_/|_\/ <__</_/_)_


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-03  4:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-01 17:43 Named Dirs Not Registered for Completion Until Used Aaron Davies
2004-05-01 21:37 ` Bart Schaefer
2004-05-02 20:01 ` Peter Stephenson
2004-05-03  4:45   ` Aaron Davies

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).