From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26274 invoked from network); 22 Feb 1999 15:00:33 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 Feb 1999 15:00:33 -0000 Received: (qmail 22886 invoked by alias); 22 Feb 1999 14:39:00 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2172 Received: (qmail 22877 invoked from network); 22 Feb 1999 14:38:58 -0000 Sender: dfavor@austin.ibm.com Message-Id: <36D16BF5.D8A4DF8C@austin.ibm.com> Date: Mon, 22 Feb 1999 08:38:45 -0600 From: "David R. Favor" X-Mailer: Mozilla 4.5 [en] (X11; I; AIX 4.3) X-Accept-Language: en Mime-Version: 1.0 To: "Zsh User's List" Subject: Completion Guru needed (next/prev) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm trying to create a next/prev completion facility to quickly traverse complicated directory hierarchies. Here is an example hierarchy: ./src ./src/tools ./src/lib ./src/client ./src/server ./src/server/a ./src/server/b ./src/server/c ./doc ./doc/unix ./doc/html ./doc/ps ./info Typing cd-SPACE-TAB begins completion of the directories [src doc info]. Here's what I'm trying to do. NEXT completion: If src is currently seleted, normally it requires hitting BACKSPACE-TAB-TAB to begin selecting directories [client lib server tools]. I would like to be able to do this by hitting the shortcut SHIFT-TAB. PREVIOUS completion: If src/server/ is currently selected, I would like to be able to hit CNTL-TAB to go back to selecting [client lib server tools] Suggestions would be appreciated. Thanks.