From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7925 invoked from network); 29 Jun 1999 11:27:00 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Jun 1999 11:27:00 -0000 Received: (qmail 17289 invoked by alias); 29 Jun 1999 11:26:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6914 Received: (qmail 17282 invoked from network); 29 Jun 1999 11:26:22 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Oliver Kiddle" , Subject: RE: New compinstall and bindkey Date: Tue, 29 Jun 1999 15:26:11 +0400 Message-ID: <000c01bec222$308cc100$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <37778A3C.EA02FF04@thoth.u-net.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 > > Firstly, the new compinstall doesn't seem to work very will when the > functions have been installed in subdirectories: It refuses to accepy > /usr/local/share/zsh/functions as the directory containing the > functions. I don't quite understand the reasoning behind making compinit > an autoloaded function which is unloaded. I'd prefer to have it in > /usr/local/share/zsh/functions and not in my fpath. Is it faster as a > function? > The reason I didn't like sourcing compinit was that I hate to have any dependencies on local installation place. Making it autoloaded function makes it invariant: autoload compinit; compinit As I finally pointed out, there are other ways. One possibility is to define parameter (say, COMPINIT) that holds full pathname of compinit (if it was installed). In this case you could use [[ -n "$COMPINIT" ]] && source "$COMPINIT" I don't actualy care which one is used. > How do I bind a key to insert a new-line without doing an accept-line. > In the zed function it is done with bindkey "^M" self-insert-unmeta but > this binds it to return. I was hoping to bind it to Alt-Return. > Hmmm ... in command line editing multiline input I can insert new line by pressing ^V^J. /andrej