From: Thorsten Haude <zsh@thorstenhau.de>
To: Zsh User ML <zsh-users@sunsite.dk>
Subject: Re: Speed
Date: Tue, 14 May 2002 08:56:02 +0200 [thread overview]
Message-ID: <20020514065602.GB891@eumel.yoo.net> (raw)
In-Reply-To: <1020514005004.ZM12670@candle.brasslantern.com>
Hi,
* Bart Schaefer <schaefer@brasslantern.com> [02-05-14 02:50]:
>On May 13, 11:15pm, Thorsten Haude wrote:
>} I just go through my /etc/zshenv, see all this setopts and wonder how
>} much difference is these in terms of speed:
>A single command is almost always faster than a series of equivalent
>commands. However, the amount of work necessary to set options is so
>small that it'd likely take at least hundreds if not thousands of
>executions before you'd notice it. Even with the proliferation of
>options in 4.x, there just aren't enough of them for this to matter.
I hoped you would say that. Single setopts are much better to read.
>There might be other things in your startup files that are slowing down
>initialization, but setopts are not likely to be it.
Anything special? Is that described somewhere?
>} Another thing: Are the keycodes ("^[!" and stuff) documented somewhere?
>If you mean the key *bindings*, then yes; you can find it in `man zshzle'
>or `info zsh "zsh line editor"'. Look in the section about "Zle Widgets"
>under the sub-heading "Standard Widgets".
I cannot find it in 'Standard Widgets'.
>If you mean something else, you'll have to ask more specifically.
This is probably some trivial stuff I just happened to avoid before: I
have some bindkeys in my /etc/zshenv, and I want to understand what
they are doing. So I would simply need a list that translates "^[[23~"
or "^[6;5~" in whatever key is meant.
Thanks for your help!
Thorsten
--
When machines and computers, profit motives and property rights are
considered more important than people; the giant triplets of racism,
militarism, and economic exploitation are incapable of being conquered.
- Martin Luther King
next prev parent reply other threads:[~2002-05-14 6:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-13 21:15 Speed Thorsten Haude
2002-05-14 0:16 ` Speed Igor Pruchanskiy
2002-05-14 0:50 ` Speed Bart Schaefer
2002-05-14 6:56 ` Thorsten Haude [this message]
2002-05-14 15:11 ` Speed Bart Schaefer
2002-05-14 21:33 ` Speed Thorsten Haude
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020514065602.GB891@eumel.yoo.net \
--to=zsh@thorstenhau.de \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).