1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-27 18:21:10 +02:00
Commit graph

10941 commits

Author SHA1 Message Date
Doron Behar
6711985b4b gitlab !11: luarocks: Fix/improve logic of cache validation
Also: Remove unnecessary quoting of helper function calls.
2019-09-27 00:34:30 +02:00
Oliver Kiddle
4f48ce208b 44781: add completion of SELinux contexts 2019-09-27 00:27:45 +02:00
Oliver Kiddle
81be5d1dce 44780: add completion to getent for the utmpx key on FreeBSD 2019-09-27 00:23:50 +02:00
Oliver Kiddle
0ff02590c3 44779: completion for new git switch and git restore commands 2019-09-27 00:16:54 +02:00
Bart Schaefer
530d6337e6 unposted (see 44772): quote the string argument to zle -U 2019-09-24 10:07:32 -07:00
Jun-ichi Takimoto
39e39910eb 44768: _tar: improve completion of long options 2019-09-20 12:41:54 +09:00
Tobias Schulte
bed4e91681 github #38: fix completion text for git update-index --chmod 2019-09-18 16:29:47 +00:00
Daniel Hahler
597acaab4f 44722: _make: use --always-make instead of .PHONY for GNU make
Using ".PHONY" might actually execute (phony) targets then, while
"--always-make" triggers processing of all targets, respecting `-n`
(`--dry-run`).
(This can be seen with `make -nsp .PHONY` in
https://github.com/neomake/neomake/tree/76b110d49a, where it actually
causes infinite processing then)

".PHONY" was used since the beginning here (37012f06a [1]).

As for bmake (which also uses `.PHONY`): there does not appear to be a
similar option for it.
While it might work better there (i.e. not causing targets to be run),
it causes an error at least when testing it quickly - which indicates
that it behaves as if using any other non-existing (or special) target
there maybe:

> bmake: don't know how to make .PHONY. Stop

This was added in ecc0a5ece [2] (workers-39654).

Since it uses `-s -f "$file" -V.ALLTARGETS` with `bmake` before to get
targets explicitly, there might not be a reason for calling `bmake` with
`-nsdg1Fstdout … .PHONY` additionally in the first place?!

1: https://github.com/danielshahaf/zsh/commit/37012f06a
2: https://github.com/danielshahaf/zsh/commit/ecc0a5ece
2019-09-06 08:47:55 +02:00
Daniel Shahaf
2829e32e3c 44726/0002: _subversion: Update --show-item= completion to 1.12.0. 2019-09-04 02:56:54 +00:00
Daniel Shahaf
770dca2c53 44726/0001: _subversion: Use 'svn help -v' to show global options, experimental options, and experimental subcommands (upstream issue SVN-4828, to be released in Subversion 1.13.0) 2019-09-04 02:56:54 +00:00
Ned Batchelder
63cc5279b3 github #37: Make it easier to understand what "fc -e" does. 2019-09-04 02:33:19 +00:00
Jun-ichi Takimoto
a98e13ed1f 44714: Take account of CDABLE_VARS while checking spelling 2019-08-29 18:21:50 +09:00
Jun-ichi Takimoto
b82c24801f 44710: support RLIMIT_UMTXP on FreeBSD 2019-08-28 10:02:29 +09:00
Jun-ichi Takimoto
3da3fe770a 44709: incluce sys/capability.h only if HAVE_CAP_GET_PROC is defined 2019-08-28 09:39:13 +09:00
Sebastian Gniazdowski
2e87c3f3fb 44712: Prefer any variety of ncurses to other terminal libraries.
We rely on its features to provide modules where it is available.
2019-08-27 10:35:07 +01:00
Oliver Kiddle
2b41606fe7 44614: apt list option completion 2019-08-19 17:29:49 +02:00
Lajos Koszti
5ff3529caf 44633: complete ansible-vault actions like create, edit, etc. 2019-08-19 16:25:54 +02:00
Oliver Kiddle
359a8fce00 44587: completion option updates 2019-08-19 16:15:49 +02:00
dana
c6254f2a93 44675: _find: Fix return status 2019-08-17 16:30:34 -05:00
dana
d5ca9fd80f unposted: NEWS: Mention functions -c 2019-08-17 16:30:28 -05:00
Peter Stephenson
d946f22a4c 44664: Fix problem with temporary assignment.
"foo=bar builtin" inside a function lost any variable from
enclosing scope.
2019-08-14 15:16:59 +01:00
Peter Stephenson
4fae525726 Copy functions using functions -c old new.
Documentation and test.
2019-08-03 19:53:51 +01:00
Peter Stephenson
e0d063a2ad 44635: Don't apply STAT_NOPRINT to backgrounded jobs 2019-08-03 19:48:18 +01:00
Shlomi Fish
90fa6ee042 44637: = doesn't need quoting in awk regexp.
Known to cause warnings in gawk 5.
2019-08-03 10:57:02 +01:00
Eric Cook
5fd80faf98 24102: _user_admin subuids and subgids 2019-07-30 09:54:18 +01:00
Kamil Dudka
d6a9e222ec 44582: Fix foregoing commit to use DPUTS() better 2019-07-26 16:36:14 +01:00
Kamil Dudka
f9cd218787 44566: make sure Zle doesn't crash if history entry not found 2019-07-24 17:14:06 +01:00
Oliver Kiddle
a4f3df89ab 44356: complete ansible callback plugins for the relevant environment variable's value 2019-07-19 01:44:20 +02:00
Oliver Kiddle
4b5b1563a8 44551: update for new git changes 2019-07-19 01:42:26 +02:00
Peter Stephenson
ede3e4e61e 44523: Add ZTST_handler capability.
Defaults to runtests.zsh but can be something else for alternative
test management.
2019-07-16 10:57:35 +01:00
Peter Stephenson
8cbbc04d97 44509: Prevent crash with modified path / PATH combination.
Crash came from "fn() { typeset -U path=($path); unset PATH; }".

Note PATH unset is global as only path was made local.
2019-07-15 09:44:47 +01:00
Peter Stephenson
09385d38ad 44305: Fix zsh_directory_name_generic
Longest	prefix matching was broken if there were suffixes indicating
further handling.
2019-07-10 15:41:24 +01:00
Peter Stephenson
bbcfdffbc3 unposted: FAQ updates.
Typo from previous change; also update old notes on
multibyte support.
2019-07-09 09:22:01 +01:00
Bart Schaefer
cf66eb7adb 43755: Fix state management for repeat uses to avoid clobbering command line when NOT a repeat 2019-07-08 18:01:38 -07:00
Bart Schaefer
5415e1d4df 44502: Quote function name for "autoload -X" 2019-07-08 17:56:57 -07:00
Bart Schaefer
adef791c82 44495: Mention coproc under $! 2019-07-08 17:55:06 -07:00
Peter Stephenson
61a697f977 users/24030 (minor tweak): note on *.{bla,hbl,ahb}.
This is an expansion, not a form of pattern match.  Describe
the problem and what to do instead.
2019-07-08 14:27:08 +01:00
Peter Stephenson
3bdf4d6641 44480: Don't automatically close externally visible file descroptors.
These are descriptors marked FDT_EXTERNAL.

Make all sysopen'ed file descriptors FDT_EXTERNAL.

Make =(...) call closem() consistent with other substitutions.

Document file descriptors are left open.
2019-07-02 13:42:53 +01:00
Martijn Dekker
700ec49581 44469: correct error on missing option argument 2019-07-01 09:42:22 +01:00
Peter Stephenson
4384fdc7f0 44446: Fix here document with file descriptor declarator.
Add unit test.
2019-06-24 20:19:19 +01:00
Martijn Dekker
1b1cb44161 44443: POSIX allows exporting readonly variables 2019-06-23 18:36:50 +01:00
Peter Stephenson
b8dc5a7f6d 44435: Handling digita arguments for :h and :t.
Pick number of leading or trailing path components to substitute.
Active in history, brace parameters, glob qualifiers.

Add tests for all three environments.
2019-06-20 11:13:05 +01:00
romkatv
80aa807a61 fix multiple bugs in countprompt
1. Height off by one in the presence of meta characters at the end of the line.

The following prompt has height 2 but countprompt used to return 3.

    PROMPT="${(pl.$COLUMNS..-.)}%f"$'\n'

You can observe the effects of the bug with esc-x followed by reset-prompt.

2. Width off by one when a line is broken in the middle of a wide character.

Assuming COLUMNS=79, the following prompt has width 2 but countprompt used to return 0.

    PROMPT="${(pl.40..\u3050.)}" zsh -df

Press ctrl-r or type ls<tab> to observe the effects of the bug.

3. Width off by 1-7 when a line is broken in the middle of a tab.

Assuming COLUMNS=79, the following prompt has width 1 but countprompt used to return 0.

    PROMPT="${(pl.10..\t.)}" zsh -df

Press Ctrl-R or type ls<TAB> to observe the effects of the bug.
2019-06-19 15:56:05 +01:00
Peter Stephenson
eaba3ab2da Missed previous ChangeLog entry 2019-06-19 10:10:20 +01:00
Peter Stephenson
61a42e8eae 44409: update config.guess and config.sub to 2019-05-28 2019-06-10 09:29:48 +01:00
Stephane Chazelas
0b1725dcfc 44387, edited: describe some problems with restricted mode 2019-06-06 21:09:42 +01:00
Jun-ichi Takimoto
1d37624ad6 44389: update _iostat and _vmstat for BSD
common parts are separated into _bsd_disks and _fbsd_device_types
2019-06-03 22:33:10 +09:00
Peter Stephenson
4b85edface 44361: Initialise variables in pattern matching.
These are used recursively and it's a bit obscure if there
are case where the value can leak.
2019-05-28 20:53:53 +01:00
romkatv
3eea35d085 fix cursor position with ZLE_RPROMPT_INDENT=0 2019-05-28 09:39:22 +01:00
Jim
06f5964284 44364: refer to zsh base manual page in zsh all 2019-05-28 09:35:12 +01:00