f2f0b6e2a1
* Unicode9 support, this needs support from your terminal to work correctly. * The new word modifier ':P' computes the physical path of the argument. * The output of "typeset -p" uses "export" commands or the "-g" option for parameters that are not local to the current scope. * vi-repeat-change can repeat user-defined widgets if the widget calls zle -f vichange. * The parameter $registers now makes the contents of vi register buffers available to user-defined widgets. * New vi-up-case and vi-down-case builtin widgets bound to gU/gu (or U/u in visual mode) for doing case conversion. * A new select-word-match function provides vim-style text objects with configurable word boundaries using the existing match-words-by-style mechanism. * Support for the conditional expression [[ -v var ]] to test if a variable is set for compatibility with other shells. * The print and printf builtins have a new option -v to assign the output to a variable. * New x: syntax in completion match specifications make it possible to disable match specifications hardcoded in completion functions. - Re-add custom zshrc and zshenv to unbreak compatibility with old usage (boo#998858). OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=177
14 lines
842 B
Diff
14 lines
842 B
Diff
Index: zsh-5.3/Src/builtin.c
|
|
===================================================================
|
|
--- zsh-5.3.orig/Src/builtin.c
|
|
+++ zsh-5.3/Src/builtin.c
|
|
@@ -100,7 +100,7 @@ static struct builtin builtins[] =
|
|
|
|
BUILTIN("popd", BINF_SKIPINVALID | BINF_SKIPDASH | BINF_DASHDASHVALID, bin_cd, 0, 1, BIN_POPD, "q", NULL),
|
|
BUILTIN("print", BINF_PRINTOPTS, bin_print, 0, -1, BIN_PRINT, "abcC:Df:ilmnNoOpPrRsSu:v:x:X:z-", NULL),
|
|
- BUILTIN("printf", 0, bin_print, 1, -1, BIN_PRINTF, "v:", NULL),
|
|
+ BUILTIN("printf", BINF_SKIPINVALID | BINF_SKIPDASH, bin_print, 1, -1, BIN_PRINTF, "v:", NULL),
|
|
BUILTIN("pushd", BINF_SKIPINVALID | BINF_SKIPDASH | BINF_DASHDASHVALID, bin_cd, 0, 2, BIN_PUSHD, "qsPL", NULL),
|
|
BUILTIN("pushln", 0, bin_print, 0, -1, BIN_PRINT, NULL, "-nz"),
|
|
BUILTIN("pwd", 0, bin_pwd, 0, 0, 0, "rLP", NULL),
|