1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 16:40:29 +01:00
Commit graph

10491 commits

Author SHA1 Message Date
Sebastian Gniazdowski
37c5e20a80 41960: add missing local declarations for MATCH, MBEGIN and MEND 2017-10-29 13:54:05 +01:00
Oliver Kiddle
08e865ed90 41961: new ansible completion 2017-10-29 13:45:41 +01:00
Oliver Kiddle
01523f4145 41958: update util-linux completions to 2.31; new hexdump completion 2017-10-29 13:42:53 +01:00
Oliver Kiddle
85e56b5a48 41957: update git completion for git 2.14.3 2017-10-29 00:07:22 +02:00
Oliver Kiddle
de425db94f 41927: complete "typeset -p"'s optional argument for multi-line output 2017-10-28 23:21:35 +02:00
Alexey Sokolov
1a5d8a6916 41952: Use HGPLAIN instead of HGRCPATH in VCS_INFO_get_data_hg
Fixes prompt indicator in case if the repository requires a non-default
feature. With HGRCPATH, it results in:

abort: repository requires features unknown to this Mercurial: ...
(see https://mercurial-scm.org/wiki/MissingRequirement for more information)

Which, in turn, results in "default" getting reported regardless of what
is the current state of the repo.
2017-10-25 10:34:34 +02:00
Christian Brabandt
373538442b 41943: Completion: add --clean for vim
Vim since patchlevel 8.0.0716 includes the --clean argument for starting
in a clean mode (only loading defaults.vim and in non-cp mode).
2017-10-20 22:20:28 +02:00
Barton E. Schaefer
dcd4f02845 41902: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES is set
Tests for 41902 and 41873
2017-10-17 20:29:47 -07:00
Daniel Shahaf
3b0c8bdac8 unposted: Document "typeset -p"'s optional argument in the inline synopsis. 2017-10-17 17:59:06 +00:00
Gautam
ab37774266 41907: further deborphan update 2017-10-16 09:49:16 +01:00
Gautam
82b275d53a 41904: new deborphan and updated xrandr completions 2017-10-16 09:46:14 +01:00
Barton E. Schaefer
96845524a6 41899: handle multi-word values of $VISUAL et al., and line counting of buffer for emacs startup 2017-10-15 11:17:06 -07:00
Barton E. Schaefer
1fb6939b94 41873: temporarily disable effects of ${(Z:n:)...} for parsing $(...) within the parameter value
Also fix minor typo in commit b3fa5c52 ChangeLog.
2017-10-13 13:50:18 -07:00
Daniel Shahaf
7c36add497 41833 + 41838: _jq: New completion. 2017-10-13 17:51:29 +00:00
Peter Stephenson
b3fa5c528c 41877: Separate out SH_FILE_EXPANSION loop from parameter substitution.
Parameter substitution can add nodes that need to be rescanned by
it, but not by file expansion, so the two don't play well together.
2017-10-13 18:17:09 +01:00
Daniel Shahaf
57cfa8b160 41825/0002: _stat: Complete -x options to zsh/stat's 'zstat'. 2017-10-11 17:50:30 +00:00
Daniel Shahaf
c68cfb1c36 41825/0001: _stat: Only complete 'stat' if it's provided by the zsh/stat builtin. 2017-10-11 17:50:30 +00:00
Oliver Kiddle
61b544a068 41855: completion option updates for OpenBSD 6.2 and handle macOS in rm completion 2017-10-11 01:24:01 +02:00
Oliver Kiddle
a8c2b90810 41854: also complete options for ping on Solaris, Mac OS, NetBSD and OpenBSD and for ping6 2017-10-11 01:23:59 +02:00
Oliver Kiddle
ea7178a624 41853: update options for texinfo 6.5 and complete also for the pinfo info reader 2017-10-11 01:23:57 +02:00
Oliver Kiddle
1a3a07a35f 41849: handle both unexpand and expand in a single function
They have some commonalities and using _unexpand dodges around
the clash with the _expand completer.
2017-10-11 01:23:56 +02:00
Oliver Kiddle
04a7dca3b0 41831: fix compset usage in ogg123 completion and tweak where compset -p is a better choice than -P 2017-10-11 01:23:53 +02:00
Oliver Kiddle
233c0e8903 41835: handle multibyte characters with compset -p and -s 2017-10-11 01:23:42 +02:00
Peter Stephenson
aeed51fdfc unposted: rename _expand command completion to avoid clash with completer 2017-10-10 10:01:01 +01:00
Peter Stephenson
ff3e47e9f4 41842: aliasing documentation update 2017-10-10 09:59:31 +01:00
Barton E. Schaefer
b84d69cf52 41828, 41830: skip SHFILEEXPANSION for new nodes added by stringsubst() in prefork() 2017-10-08 18:08:09 -07:00
Oliver Kiddle
82c26793e4 41827: correct sense of description for ${...:?...} expansion 2017-10-07 23:54:32 +02:00
dana
96006eaa87 41826: dana: fix inaccuracies in completion description wording for parameter expansion flags 2017-10-07 22:42:08 +02:00
Oliver Kiddle
12902206b7 41824: fix to not complete rest args from an _arguments set alongside the argument to and option in a separate set 2017-10-07 22:35:59 +02:00
Oliver Kiddle
69fcc22dc8 41823: new completions for some GNU coreutils utilities 2017-10-07 22:26:51 +02:00
Daniel Shahaf
e49aabc13a unposted: zsh/stat docs: Rephrase to avoid ambiguity due to the ambiguous relative precedence of the 'other than' and 'and' operators. 2017-10-07 01:11:23 +00:00
Noah Pendleton
63271a4b93 41808: _git-cherry-pick: Typo fixes 2017-10-04 22:07:23 +00:00
Peter Stephenson
e573857a03 41802 (minor tweaks): use heap during shell function call.
Replaces stack for more efficient memory management.

Also fix debug message when FUNCNEST is increased.
2017-10-04 09:18:51 +01:00
Peter Stephenson
174e560a23 41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth.
Initialised from existing configuration value.
2017-10-02 09:44:26 +01:00
Peter Stephenson
728f2adfc8 Add typeset -p1, like typeset -p with newlines 2017-10-01 17:53:56 +01:00
Peter Stephenson
a1276c88e1 41789: Don't save fd if -1.
We try to move an fd which isn't opend but it will feel.
This needs handling specially in the new code for marking
saved fd's.
2017-09-29 16:29:49 +01:00
Peter Stephenson
7cb55668c2 41773: Array index assignment tests for KSH_ARRAYS 2017-09-28 10:59:38 +01:00
Oliver Kiddle
80a02c10aa 41772: fix bug in handling of long options with _arguments' -A option 2017-09-28 09:31:35 +02:00
Oliver Kiddle
9b4962a772 41762: fix for completion in assignment to associative array element 2017-09-28 09:31:35 +02:00
Barton E. Schaefer
7a0718796a 41767: preserve nonzero exit status on interrupt 2017-09-27 20:34:11 -07:00
Peter Stephenson
6230e82d44 41764 (test tweaked): allow [key]+=value when modifying arrays 2017-09-27 09:41:50 +01:00
Peter Stephenson
03af5fdbee 41761: Ensure status from interrupt is propagated by builtin 2017-09-26 09:26:57 +01:00
Peter Stephenson
7d4b41b52a 41747: Don't create hash entry if just checking existence.
Pass a flag in indicating this case.
2017-09-25 20:03:05 +01:00
Daniel Shahaf
9cab4c3d7f 41755: Followup to last: minor clarification to docs. 2017-09-24 17:21:50 +00:00
Peter Stephenson
85b0dd7133 Updates for ksh array element syntax.
Move detection of key/value pairs down into prefork().

Detect normal array assignment and [key]=val array assignemnt
separately.  Mark key / value pairs with Marker and pass up flag.  Deal
with marked triads specially later on.
2017-09-24 17:33:07 +01:00
Oliver Kiddle
8ddadb8afe update mtr completion through mtr 0.92 2017-09-22 18:45:32 +02:00
Oliver Kiddle
3fde9aedd4 update options in tune2fs completion through e2fsprogs 1.43.6 2017-09-22 18:43:31 +02:00
Oliver Kiddle
101fb8dbf8 41732: bring tmux completion in line with tmux 2.5 - removing completion of mode tables 2017-09-22 01:16:53 +02:00
Daniel Shahaf
ced82745ea unposted (cf. 41672): checkrmall: Record the 41672 bug in a TODO. 2017-09-21 18:17:19 +00:00
Daniel Shahaf
15bed0db40 unposted (cf. 41707): internal: Document the count==0 case of checkrmall(). 2017-09-21 18:14:01 +00:00