Age | Commit message (Collapse) | Author | Files | Lines |
|
ZSH provides already everything to grep a file without having to use
external programs, that can only cause a slowdown in the ZSH
initialization.
This can save some milliseconds at each zsh initialization, as we
avoid a fork.
Merges MR!2.
|
|
It matched VERSION_ID and might match other keys or values as well.
|
|
|
|
|
|
… except all debian/changelog entries and modifying the Maintainer
field.
This includes:
* debian/zshrc: Enable completions by default, unless
skip_global_compinit is set.
* Support cross-compiling:
+ Adjust upstream autoconf cross-compile default fallbacks.
+ Skip zcompile when cross-compiling.
+ Add libelf-dev build-dependency.
Gbp-Dch: Full
|
|
Thanks: Marc Chantreux on #pkg-zsh (freenode)
|
|
|
|
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
|
|
The result is the same, plus this protects us from people who feel like
messing with the value of $TERM...
Suggested-by: Mikael Magnusson <mikachu@gmail.com>
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
|
|
If a terminal - like the linux kernel's virtual console - is missing those
terminfo entries, that will cause annoying output like:
zle-line-init:echoti:1: no such terminfo capability: rmkx
zle-line-init:echoti:1: no such terminfo capability: smkx
for each and every prompt.
This tests for the features availability and notes missing ones in a new
array `$debian_missing_features'.
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
|
|
-U suppresses alias expansion while the function is loaded. And -z
forces zsh-style autoloading semantics (instead of the optional
ksh-style, which someone could have set in a files that is sourced
earlier than the zshrc file).
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
|
|
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
|
|
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
|
|
This change makes proper use of `$terminfo[]', because it makes sure
that zle (zsh's line editor) puts the terminal into application mode
while it is running. Then - and ONLY then - are the values from the
`$terminfo[]' array valid.
While doing that this also does this:
a) Refactor the actual binding code
b) Do not bind non-default vi-* widgets to Up and Down.
The change in "b)" may be controversial because it reverts long standing
debian-zshrc behaviour. However, the #zsh channel on freenode gets a
*lot* of people complaining about this from debian and ubuntu systems.
There even was a bug report about this: #383737. Clint commented like
this:
> Unfortunately this boils down to a binary division in a fundamental
> belief, and either way people are unhappy.
I agree.
But I disagree, that the solution is to keep the non-default behaviour
in that case. The package should keep the default zsh behaviour with
things that boil down to "fundamental belief" and leave it to the user
to decide.
The bindings that were the most controversial were `Up' and `Down' bound
to vi-up/down-line-or-history in viins and vicmd. This patch binds both
keys to the less surprising up/down-line-or-history bindings.
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
|
|
|