dana
0daeed20e1
43031: Add note to style guide about quoting
2018-06-16 11:50:43 -05:00
dana
4d19645d49
43031: Add note to style guide about variant syntax
2018-06-16 11:49:20 -05:00
dana
92b0e885d6
unposted: Fix inconsistent white space in change log
2018-06-16 11:46:31 -05:00
dana
1b4a86a0d4
unposted: Fix typo in change log
2018-06-15 22:09:37 -05:00
dana
0cac4b63e0
43024: Improve _man section-name matching
2018-06-15 22:03:30 -05:00
Matthew Martin
d5360e324c
42981: Add ed completer
2018-06-15 14:15:56 -05:00
Peter Stephenson
9408c4825b
users/23472: Add $sysparams[procsubstpid] to zsh/system
2018-06-15 15:02:36 +01:00
Peter Stephenson
f37c181b29
43008: Improve code to remove privileges.
...
Remove warnings of unused values as we always check the finally
result later.
Put segid before setuid as the setgid could fail if UID
no longer privileged.
2018-06-15 10:27:29 +01:00
dana
d1eb0f4ed1
42992: Fix minor escaping bug in _bash
2018-06-13 18:59:05 -05:00
dana
b6e4cc1a86
42992: Use _call_program to fetch argument possibilities
2018-06-13 18:57:23 -05:00
dana
2fb6533f04
unposted: Change 'Mac OS X' reference to 'macOS'
...
I've left other references (see _growisofs and _hdiutil) alone, since they all
appear in the context of legacy features.
2018-06-12 19:32:53 -05:00
dana
684db0f9fe
42983: Address misc. feedback re: _man
2018-06-11 16:52:38 -05:00
dana
6b4e78dce6
42984: Fix argument pass-through to compadd
2018-06-11 12:22:42 -05:00
dana
63e09b338b
42978: fix small but irritating bug in pbcopy completion
2018-06-10 22:18:05 +02:00
dana
c89d9cc820
42977: Complete options to major man variants, otherwise improve especially section matching
2018-06-10 22:13:48 +02:00
Eitan Adler
0a4eb2d85d
42968: add "-c" for _shutdown completion on FreeBSD 12-current
2018-06-09 21:26:44 +02:00
dana
b5b3dde0a0
42965: add full completion for bash and update shell list in _sh
2018-06-09 11:06:55 +02:00
Eitan Adler
660e3f543e
42964: Update list of fbsd architectures
2018-06-09 10:46:28 +02:00
dana
e60620bc2f
42918: fix file completion for jq
2018-06-09 10:05:07 +02:00
dana
9767ee8849
42918: adapt detection of GNU variant of ldd to work on Ubuntu
2018-06-09 10:00:50 +02:00
Doron Behar
880098352c
42947: new luarocks completion
2018-06-07 23:18:34 +02:00
dana
64ef1eddfd
42931: completion for several utilities especially for checksums across a variety of systems
2018-06-07 18:19:55 +02:00
Oliver Kiddle
594f2ff06e
users/23434: initialise UNDO_LIMIT_NO so that an initial undo doesn't clear the whole edit buffer
2018-06-07 17:48:48 +02:00
Eitan Adler
f16c690bea
42935: FreeBSD does not support -v for arp
2018-06-07 17:42:50 +02:00
Eitan Adler
780f169eff
42937: add -M and -m options
2018-06-07 17:39:02 +02:00
Oliver Kiddle
09b6959aa5
43943: update samba completion with long options
2018-06-07 17:30:57 +02:00
Eitan Adler
96ec8cbbf4
42938: name argument to math_func is not unused
2018-06-06 09:35:38 +01:00
Eitan Adler
6a3b23e9cc
42939: pm argument to set_registers is not unused
2018-06-06 09:33:28 +01:00
Sebastian Gniazdowski
52f1c4ffb0
42929 (tweaked): additional default bindings in zed.
...
Add to both zed and zed-vicmd keymaps.
2018-06-05 09:38:31 +01:00
Eitan Adler
d63ae0acc9
42826: remove link to now-spam website
2018-06-04 00:39:26 +02:00
dana
3585c28c36
42922: new tac completion
2018-06-04 00:12:41 +02:00
Oliver Kiddle
47f34eff93
42881: update options in ghostscript completion and query more matches directly from it
2018-06-04 00:07:23 +02:00
Oliver Kiddle
780c966972
42920: new dkms completion
2018-06-03 23:58:16 +02:00
Peter Stephenson
4a469dd946
42888: Update installation notes.
...
Machine-specific part empty pending reports.
2018-06-01 09:14:48 +01:00
Jun-ichi Takimoto
1a97dcbed1
42870: another improvement of 'compset -q'
...
zlemetall need not count the 'x' added at the cursor in set_comp_sep()
2018-05-31 21:07:53 +09:00
Peter Stephenson
d5e8406729
42865: update config.guess and config.sub.
...
Copied unmodified from latest GNU distribution.
2018-05-29 09:47:04 +01:00
Eitan Adler
f9560cb03b
42862: Remove AC_PROG_TRADITIONAL from configure.ac.
...
We don't support machines that ancient any more.
2018-05-29 09:42:31 +01:00
Eitan Adler
cfdd0bd9c7
42863: configure.ac update to latest autoconf conventions
2018-05-29 09:40:07 +01:00
Jun-ichi Takimoto
e5f356a95e
42809: slightly improve 'compset -q'
2018-05-25 21:11:20 +09:00
Oliver Kiddle
5e2d3d1e15
42806: fix shutdown completion where options were lost due to args= assignment where args+= was needed
2018-05-19 11:10:46 +02:00
Oliver Kiddle
25f6f5eebe
42803: handle Linux and the the BSDs in netstat completion
2018-05-19 11:06:52 +02:00
Stephane Chazelas
5ac1c6f555
42790: make [[:blank:]] match non-ASCII blanks
2018-05-17 23:42:27 +02:00
Oliver Kiddle
afec5fb136
42784: complete -s and -x options to the functions builtin
2018-05-17 22:55:33 +02:00
Peter Stephenson
1d2f684c9b
42793: Always define FDT_PROC_SUBST even if not needed.
...
This avoids proliferating #ifdef's.
2018-05-17 10:00:37 +01:00
Peter Stephenson
ee7dda7806
42785: Allow redefining math function to work silently.
...
Previously it failed with an error message that the function
was already defined. This is inconsistent with most other
aspects of shell usage.
2018-05-17 09:32:26 +01:00
dana
b066cc3ea9
42297: (e) subscript flag needs extra work with scalars
2018-05-14 16:54:19 +01:00
Oliver Kiddle
a93abe1170
42488: test cases for 42369 and address some issues in the code
2018-05-13 10:13:42 +02:00
Oliver Kiddle
373efa085d
Nelson H. F. Beebe: 19597 (rebased 42369): return Inf, NaN etc from floating point operations instead of errors to allow non-stop IEEE 754 arithmetic
2018-05-13 10:02:01 +02:00
Oliver Kiddle
f0c2cf8607
42760: move stack variable outside while loop scope as it is accessed in the while condition
2018-05-13 09:51:05 +02:00
Peter Stephenson
c636c4b3b9
unposted: remove mysterious excrescence in ChangeLog
2018-05-11 09:39:33 +01:00
dana
eeeba19c96
42185: safety when removing separators in completion
2018-05-11 09:33:05 +01:00
dana
805192311f
42101 (tweaked): assigning shell status to array was broken
2018-05-11 09:29:14 +01:00
Peter Stephenson
fa441fa20e
42752: enhance git external alias completion
...
If alias expands to !cmd-name, complete as a normal command
line after cmd-name.
2018-05-08 17:13:12 +01:00
Peter Stephenson
c8ceb66ba3
42751: Protect shell status in ZLE timed function handler.
...
Otherwise status from sched and other asynchronous functions
could escape back to the main shell.
2018-05-08 10:18:19 +01:00
Eitan Adler
942ac7e6e2
42740: Teach _systat about the 'zarc' screen
2018-05-02 09:12:58 +02:00
Eitan Adler
2d8574ef7d
42732: Add several more entries to ifconfig
2018-05-02 09:09:09 +02:00
Oliver Kiddle
64b60f6926
42743: update vorbis-tools completion and include vorbiscomment with the rest
2018-05-02 08:59:23 +02:00
Peter Stephenson
faf0035e53
unposted (branch fork_early): Fork early for pipelines.
...
If executing a command not at the end of a pipeline, and
not optimised in the calling code, we can fork before
"prefork" substitutions, at the same point as
for background commands.
Move fork before our preliminary scan of arguments to find
a command: in the cases of early fork
we don't need this information before forking.
Ensure we _exit if forked in execcmd_exec().
Rationalise use of forks and pipes.
Ensure we _exit instead of returning from execcmd_exec() if we
have forked. Before the optimisation code after the fork always ran
to the check at the end, but that code is overkill for the logic
between the early fork and the existing one.
Remove old workaround to fork in caller of execcmd for current shell
constructs as no longer needed with early fork below.
Close input of newly created pipe on fork (destined for RHS of pipe
which we never execute): this replaces a workaround from
zsh-workers/32171, commit 9887fc3d7b
.
Set last1 on early fork as needed by some instances of shell
constructs on LHS of pipeline to know they are exiting.
2018-05-01 10:27:35 +01:00
Matthew Martin
11dbc95962
42730: Complete the options for rmdir
2018-04-29 23:54:40 +02:00
Matthew Martin
17af784c5d
42729: update df completion for [DFNO]BSD
2018-04-29 23:49:49 +02:00
Oliver Kiddle
ad9b140213
42676: deal with system specific arguments in dd completion
2018-04-29 23:32:10 +02:00
Oliver Kiddle
563a8d2853
42728: update options in libtiff tools completion and add handling for tiff2pdf
2018-04-29 23:29:40 +02:00
Ricardo Giorni
f7519811e1
47201: fix 42355 for multiple backslashes
2018-04-29 12:05:39 -07:00
Peter Stephenson
2d3b3510a8
c.f. 42726: Back off fg and bg tests.
...
This is too hard to make robust. Problems include
- Reading input in different places causes lines to appear and disappear
- There is no easy way to sequence the asynchronous operations
following bg.
- Response to job control of user commands on some OSes (MacOS,
for example) is unpredicatble.
2018-04-26 09:42:25 +01:00
Peter Stephenson
bdd595321f
42722: Replace ed with dc in fg/bg tests.
...
This should be even simpler.
Also more fix ups for failed pattern diffs.
2018-04-25 18:16:02 +01:00
Daniel Shahaf
76b5b3a504
unposted: Correct process substitution buffer size in the PATH_DEV_FD codepath.
2018-04-25 15:31:39 +00:00
Peter Stephenson
c6dbd862d0
42714: Add fg and bg tests.
...
Use ed to get minimal user interaction without needing
advanced terminal handling.
Improve test output of failures of pattern differences.
2018-04-25 10:16:51 +01:00
Peter Stephenson
95d861d028
42708: fix for process substitution.
...
Don't close associated file descriptors in the closem()
tidy up function as they should remain visible to external
processes. Override if about to exit.
Unit test for the failing case: note this relies on the
existence of /proc/self/fd or equivalent.
2018-04-24 11:48:11 +01:00
Peter Stephenson
9ad9c5cda1
42705: Another safety fix for pgrp reclaiming.
...
Only do this if killpg(dead_pid, 0) returns -1, indicating
the pgprp doesn't exist any more, else there is a race
if other proceses have started using it.
2018-04-23 15:11:34 +01:00
Peter Stephenson
11f18457d2
Allow short loops with "while"
2018-04-23 13:45:08 +01:00
Peter Stephenson
9e2afb9298
42684 (with extra comments): Fork early if in bg.
...
In execcmd the case of running the last command in a pipeline
asynchronously for the purpose of & and &! is easy to work out,
and we can avoid side effects and unnecessary execution time in
the parent shell by forking earlier.
2018-04-20 10:36:39 +01:00
Peter Stephenson
0f29b5148e
42686: Fix previous pgrp patch.
...
We shouldn't do any fix ups unless the process has actually
exited.
2018-04-19 13:58:10 +01:00
Peter Stephenson
3c74891fcd
42630: Improve process group handling in pipelines.
...
If process group leader exits, allow a newly forked process to become
process leader. If a foreground job, reattach the shell to the
terminal until that happens.
Unblock signals when reading output for command subsitution so that
we can do this reattaching immediately.
2018-04-17 17:14:20 +01:00
Peter Stephenson
181f5cfabe
unposted: update version to 5.5.1-dev-0
2018-04-17 17:11:39 +01:00
Peter Stephenson
fd4056f4ed
unposted: Update for release 5.5.1.
2018-04-16 19:21:52 +01:00
Oliver Kiddle
39f58eb318
42659: various completion option updates
2018-04-16 17:02:56 +02:00
Oliver Kiddle
b69a341619
42658: allow compact form of option arguments to diffstat
2018-04-16 16:53:47 +02:00
Matthew Martin
2cf01b9da8
42643, 42644: new cksum completion
2018-04-16 16:51:16 +02:00
Barton E. Schaefer
68d9526220
42650: fix 42156 for zero-sized terminals
...
Also fix harmless no-op typo from hand-applying 42636 for previous commit.
2018-04-15 11:06:43 -07:00
Barton E. Schaefer
517cda3832
42636: fix GLOB_DOTS for !(RM_STAR_SILENT)
...
Also fix paste-o in older log entry
2018-04-15 10:57:27 -07:00
Daniel Hahler
5bd659352f
42631: _pgrep: pkill: fix completion of signals
...
This adds the signals after arguments are filtered according to
$optchars.
2018-04-13 11:44:37 +02:00
Oliver Kiddle
65b265f3c0
42624 (plus test): avoid freeing memory that's still needed
...
This was occurring in a multiple function definition where a
function name is duplicated.
2018-04-12 23:15:29 +02:00
Peter Stephenson
2c4ec9dab0
42623: Add some extra quotes to previous commit
2018-04-11 10:37:23 +01:00
Benedikt Morbach
66f0e5c1ac
42618: support signal names from multiple include files.
...
Needed for glibc starting with 2.25.
2018-04-10 17:52:35 +01:00
Peter Stephenson
9135097419
unposted: update dev version to 5.5-dev-0
2018-04-10 09:15:34 +01:00
pda
96f393f917
42613: typo fix in _ss
2018-04-09 23:22:25 -04:00
Peter Stephenson
f9e9dce544
unposted: release zsh-5.5
2018-04-08 16:52:30 +01:00
Oliver Kiddle
5bd63f4d69
c.f. 42499: tera torn: update twisted completion stub for new twist command
2018-04-08 10:51:35 +02:00
Oliver Kiddle
8e6c1d8b47
42605: properly free the vi registers hash
2018-04-07 18:52:37 +02:00
Oliver Kiddle
d8753f47bb
42601: tidy up code for set -A/+A to not increment a NULL pointer and to be more efficient
2018-04-07 18:48:00 +02:00
Oliver Kiddle
31f7220563
42607, CVE-2018-1100: check bounds on buffer in mail checking
2018-04-07 18:28:38 +02:00
Oliver Kiddle
4044d73706
42600: error paths for _values leaked the exclusion list array
2018-04-07 14:37:46 +02:00
Oliver Kiddle
90afd36922
42597: plug memory leak found by coverity
2018-04-07 14:37:46 +02:00
Oliver Kiddle
bd05c4b2de
42595: remove dead code flagged by coverity
2018-04-07 14:37:46 +02:00
Mikael Magnusson
583419839f
42602: Update _gcc as of GCC 7.3.0 for generic options and x86
2018-04-07 14:08:26 +02:00
Matthew Martin
a2cb9bbed3
42604: new completions for OpenBSD's signify and vmctl
2018-04-07 11:06:24 +02:00
Klas Mellbourn
5e10acca98
github #24 : Add completion script for Visual Studio Code
2018-04-07 10:57:59 +02:00
Jun-ichi Takimoto
4b13cda37b
42590: fix detection of OSTYPE in _fmt
2018-04-05 20:31:28 +09:00
Jun-ichi Takimoto
5dc36c40c3
42585: improve completion for libarchive-based tar
...
Offer all compressed archives if no compression flag is specified
because libarchive can automaticaly recoginize them.
cf. 42574 (Eitan Adler).
2018-04-05 20:27:39 +09:00
Oliver Kiddle
bfff8debf7
42591: complete *.changes and *.dsc files alongside *.deb
2018-04-05 13:00:14 +02:00
Oliver Kiddle
9004b59115
42584: complete options for ssh-keyscan and update options for ssh-copy-id
2018-04-05 11:32:57 +02:00
Oliver Kiddle
10fcc7eaaf
42583: new column completion
2018-04-05 11:30:10 +02:00
Oliver Kiddle
d4c19184fe
42582: updates to options in completions for OpenBSD 6.3
2018-04-05 11:29:07 +02:00
Oliver Kiddle
25da576c29
42575: fix to not complete options in the argument to another option
2018-04-05 11:14:58 +02:00
Jun-ichi Takimoto
35734810d1
42578: _shutdown: add support for macOS
2018-04-05 10:34:12 +09:00
Jun-ichi Takimoto
e9a76d3924
42577: fix macOS support in _strings
2018-04-05 10:27:45 +09:00
Peter Stephenson
f027f1d6e8
unposted: 5.4.2-test-2
2018-04-04 18:34:08 +01:00
Peter Stephenson
3517e4a9a5
42581(?): Fix ZLE inline history expansion.
...
Seen with magic-space.
If there's a parse error in command subtitution we need to complete
reading history to ensure the command line buffer is finished.
2018-04-04 18:33:00 +01:00
Oliver Kiddle
1bd2ecc17d
42572: various completion option updates
2018-03-31 10:12:59 +02:00
Oliver Kiddle
b90c59e9fc
42571: new completion for FreeBSD jail command
2018-03-31 10:04:56 +02:00
Oliver Kiddle
486297520f
42568: new shutdown completion
2018-03-30 16:23:59 +02:00
Oliver Kiddle
286b4c8b0c
42569: improve lsof completion after -i and -s options
2018-03-30 16:17:44 +02:00
Oliver Kiddle
c960cd3c2d
42567: new completion for xmlstarlet
2018-03-30 16:14:34 +02:00
Oliver Kiddle
20a92b857e
42570: new completion for drill and factor out DNS type completion
2018-03-30 16:12:35 +02:00
Oliver Kiddle
bdf09270be
42560: silence sign-compare compiler warnings
2018-03-30 12:13:59 +02:00
Oliver Kiddle
36e8471a2c
42566: new strings completion
2018-03-30 12:09:31 +02:00
Mikael Magnusson
1ee82c5903
42564: _adb: Various improvements
...
Show product as description by default
Add zstyle for naming devices via serial number
Add --user to uninstall
and other improvements
2018-03-29 21:27:11 +02:00
Oliver Kiddle
de7c06a3df
42548: new pwgen completion
2018-03-28 10:32:11 +02:00
Oliver Kiddle
c2c9a16350
42549: also handle the yumdb command in yum completion
2018-03-28 10:30:05 +02:00
Oliver Kiddle
9881778d48
42550: new completion for ruby's gem
2018-03-28 09:11:35 +02:00
Oliver Kiddle
c053c6a079
42539: prevent overflow of PATH_MAX-sized buffer in spelling correction
2018-03-28 09:00:58 +02:00
Martijn Dekker
fa0105f78c
42538: Temporarily set umask for here document.
...
Done while signals are queued.
2018-03-27 09:32:55 +01:00
Barton E. Schaefer
9bc391105f
42480: optimize $#var for single-byte character sets
2018-03-25 18:01:25 -07:00
Peter Stephenson
3b7d6a558f
42505 (corrected): prepare for 5.5 release
2018-03-25 17:49:48 +01:00
Oliver Kiddle
383077e0da
42520: don't use an empty but existing option cache in netcat completion
2018-03-24 15:16:07 +01:00
Oliver Kiddle
a2459bee79
42521 based on 42049 (SATOH Fumiyasu): fix finding of includes in make completion
...
make always includes relative to the current directory rather than
relative to the including Makefile.
2018-03-24 15:11:19 +01:00
Oliver Kiddle
259ac472ea
42519, CVE-2018-1083: check bounds on PATH_MAX-sized buffer used for file completion candidates
2018-03-24 15:04:39 +01:00
Oliver Kiddle
679b71ec4d
42518, CVE-2018-1071: check bounds when copying path in hashcmd()
2018-03-24 15:04:02 +01:00
Jun-ichi Takimoto
beadc29214
unposted: add 'static' to a file-local variable
2018-03-24 15:32:43 +09:00
Jun-ichi Takimoto
e4a8069b32
42501: avoid out of bound pointer (as 42487)
2018-03-24 15:22:10 +09:00
Oliver Kiddle
4977ec1398
42491 based on 42000 (Andrei Shevchuk): factor ssh host completion for use for mosh and git
2018-03-24 00:09:12 +01:00
Oliver Kiddle
f1a52c23fa
42497 (tweaked c.f. 42498): make completion after apt install work on local .deb files
2018-03-23 09:57:39 +01:00
Jun-ichi Takimoto
fc37d15e3e
42191: new completion for otool (macOS)
2018-03-22 12:53:40 +09:00
Peter Stephenson
bc349023aa
42487: Fix pointer problems in compctl.
...
Pointing off the front of a string caused warnings with
gcc 7.3.0 and is somewhat murky C anyway.
2018-03-21 10:29:22 +00:00
Stephane Chazelas
d2350a1e80
42469: necessary repairs to 42465 found by "make check"
2018-03-18 16:49:42 -07:00
Stephane Chazelas
1219eae829
42465: Pass up error status from readoutput().
...
This improves the consistency of error reporting from $(...) constructs.
2018-03-15 09:21:47 +00:00
Peter Stephenson
7fd8e380bf
42453: Fix race in look up of status for wait.
...
Background jobs that had just exited could still be in
the table when the process had already finished and the
status was recorded, causing the wrong status to be reported.
2018-03-12 15:26:34 +00:00
Ferenc-
c3133f5eb1
github #22 : Add newer C++ standard options to gcc completion
2018-03-07 00:57:39 +01:00
Matthijs Tijink
f5d0111e15
github #23 : new kdeconnect-cli completion
2018-03-07 00:51:20 +01:00
Martijn Dekker
54ea6a8cd5
42365: Use .zwc file if timestamp identical to source.
...
This can happen if the files are bundled together.
2018-03-05 09:31:11 +00:00
Taylor West
14c17aa178
42411: Assume current C librarires handle free(NULL)
2018-03-04 20:57:58 +00:00
Peter Stephenson
1d6954bd2f
23180: Fix expand-or-complete with ~[...].
...
The square brackets shouldn't be treated as wildcards.
2018-02-26 21:43:12 +00:00
Peter Stephenson
14743c0dfd
42401: workaround for gcc -foptimize-strlen oddit.
...
Use realloc(NULL, ...) instead of malloc in zsh-mem calloc().
2018-02-26 20:21:56 +00:00
Peter Stephenson
ba7de6d0d5
users/23169: only expand ~[...] under the same circumstances as other ~forms
2018-02-26 20:03:48 +00:00
Peter Stephenson
557d1d7259
42399: document echo and behaviour of - and --
2018-02-26 19:58:01 +00:00
Daniel Hahler
1142e2dedb
42364: _git: fix __git_ignore_line to ignore the current word
...
Before this patch "git branch -d master<tab>" would result in
"no matches found", while "master" itself should get completed here.
The "(bQ)" (added in 527badc23
, via 38129?!) does not seem to be necessary
anymore: with files "f\[a-z\]o" and "foo", "git add f[a-z]o <tab>"
offers "f\[a-z\]o", but not "foo".
2018-02-22 23:41:13 +01:00
Peter Stephenson
5b946f6c4d
42362: protect REPORTTIME logic from bad status
2018-02-17 22:35:32 +00:00
Peter Stephenson
7492f1e9ed
ChangeLog typos.
2018-02-13 10:17:29 +00:00
Peter Stephenson
fa2879f500
Document REPORTMEMORY is in Kb, not Mb
2018-02-13 09:39:20 +00:00
Peter Stephenson
47aa60950c
42355: Fix use of backslashes on here doc input.
...
Handling of white space in particular was confusing and inconsistent
with other shells.
2018-02-12 10:06:45 +00:00
Daniel Hahler
2bf952b102
42324: _git: handle mutually exclusive options
...
Currently `git show --stat -p` is not considered a valid completion and
prevents further completions like `--no-abbrev`.
It is a valid use case however to use `--stat` with `-p` (and there is a
synonym `--patch-with-stat` for it even).
This patch changes `__git_setup_diff_options` to only handle mutually
exclusive arguments reported by Git (as a fatal error) in a special way.
2018-02-12 10:12:22 +01:00
Daniel Hahler
c18fe510f4
42327: _make: complete _files
...
The use case is completing files that are actual targets, generated
using $(wildcard …).
Q: Could this be made to only complete files if make targets and vars
are empty?
2018-02-11 20:09:30 +01:00
Daniel Shahaf
5677339062
unposted: _subversion: Support subcommands with hyphens in their names, such as 'shelf-list (shelves)' from upstream 1.10 development versions.
2018-02-08 15:12:59 +00:00
Christian Hesse
dd8e55c46b
42333: git 2.16.0 no longer accepts an empty string as a pathspec element so replace empty strings with a dot
2018-02-08 00:49:46 +01:00
Matthew Martin
0236d9c5f1
42330: ln -L and -P are POSIX, but not supported by Darwin or NetBSD
2018-02-08 00:37:26 +01:00
WGH
0c324124d0
42336: force single column output when getting filenames with adb ls command
2018-02-07 20:52:28 +01:00
Oliver Kiddle
ffacc95766
42343: complete --config-option to svn more than once
2018-02-07 20:47:30 +01:00
Peter Stephenson
9d434d2357
Fix confusing change log entry for foregoing commit.
2018-01-31 10:20:57 +00:00
Peter Stephenson
2cbf6b6a19
42332: Special case unsigned printf formats.
...
For constants we can avoid a conversion to signed by examining
the expression before passing to math eval.
2018-01-31 09:14:40 +00:00
Daniel Hahler
f62af4a7ef
Add ChangeLog entry for previous commit
2018-01-24 21:56:51 +01:00
Peter Stephenson
758966502c
42322 (tweaked): Fix interactive_comments history with just a coment.
...
Don't discard the line from the history merely because it produced
no synactic words.
2018-01-24 17:40:56 +00:00
Joey Pabalinas
110b13e109
42313: avoid null-pointer deref when using ${(PA)...} on an empty array result
2018-01-23 22:28:08 -08:00
Oliver Kiddle
47430bcd7c
42317: completion option updates for commands that have had recent updates
2018-01-23 11:03:00 +01:00
Oliver Kiddle
aabf978fce
42299: correct optional argument
2018-01-23 11:03:00 +01:00
Matthew Martin
b5572f9037
42309: A few small updates for OpenBSD
2018-01-23 11:02:56 +01:00
Daniel Tameling
12704997a3
42305: CVS should be git
2018-01-22 09:46:01 +00:00
Barton E. Schaefer
4c8552170e
Fix overlapping commits
2018-01-21 09:46:31 -08:00
Mikael Magnusson
5c656716ff
42243: Free stuff properly in zsh/pcre module
2018-01-20 13:33:12 +01:00
dana
0ce5ff2a87
41924: (wi) subscript flag interaction
2018-01-19 23:06:47 -08:00
Barton E. Schaefer
4adb3c9fa7
ChangeLog for abd00402
/ 41839
2018-01-19 23:03:04 -08:00
Peter Stephenson
b816291a17
42294: disable REPORTTIME in completion
2018-01-18 09:39:08 +00:00
Warepire
d8d9fee137
42285: off by one fix in multiple prompts
2018-01-16 09:31:16 +00:00
Barton E. Schaefer
de6a293159
42136: empty string check in %~ / %C prompt expansions
2018-01-14 03:15:49 -08:00
Barton E. Schaefer
b476d89fa2
42043: ZSH_DEBUG_CMD should not WARN_CREATE_GLOBAL
2018-01-14 03:07:32 -08:00
Daniel Shahaf
0cfa6da3e8
Fix last commit's ChangeLog.
2018-01-13 19:00:26 +00:00
Barton E. Schaefer
254d8ed8cb
unposted: Follow-up to previous: Clarify that ${histchars[1]} may be backslash-escaped even when it isn't '!'.
2018-01-13 18:55:34 +00:00
Daniel Shahaf
ba752d2eb5
42261: docs: Expand documentation of $histchars[1]. Joint with Matthew Martin.
2018-01-13 17:52:59 +00:00
Matthew Martin
ef0aae1c27
42242: add [DFNO]BSD to the mix in ldconfig completion
2018-01-10 23:39:58 +01:00
Peter Stephenson
36fcaeb167
42245: Abort last word on interactve comment.
...
Last recorded word should be the previous one.
2018-01-08 17:26:33 +00:00
dana
0f0b602415
42231: new completion functions for simple utilities belonging to the 'Darwin' and 'Linux' groups.
2018-01-06 00:13:51 +01:00
Oliver Kiddle
0c5f851021
42230: update screen completion to 4.06.01
2018-01-05 17:27:28 +01:00
Oliver Kiddle
ef1f9e1978
42229: update completion of GNU programs for coreutils 8.29 / gawk 4.2.0
2018-01-05 17:17:47 +01:00
dana
ae059841b0
42223: new completions for sublime text and some basic Unix utilities
2018-01-05 15:29:17 +01:00
Oliver Kiddle
48f01128be
42221: update enscript completion for GNU enscript 1.6.6
2018-01-05 14:30:02 +01:00
dana
c8e2f3c3d8
42222: _object_files: recognize .dylib (macOS)
2018-01-05 10:06:50 +09:00
dana
1af28cbfd7
42164: fix digits in format escapes in completion listings
2018-01-04 17:16:18 +00:00
Stephane Chazelas
c2cc8b0fbe
Avoid crash copying empty hash table.
...
Visible with typeset -p.
2018-01-04 17:12:13 +00:00
Sebastian Gniazdowski
1e46f73b8e
42188: Close flock descriptor in failure cases
2018-01-04 17:06:22 +00:00
dana
21a09a1418
42214: use less general names on new functions for completing file flags and modes
2018-01-04 11:50:50 +01:00
Maciek Makowski
c789efbaf0
github #21 : update nmcli completions to be compatible with recent version 1.8.4
2018-01-04 11:40:03 +01:00
dana
1c4e7601c4
42210: factor out completion of file modes and flags and handle _comp_priv_prefix for chflags
2018-01-04 00:16:43 +01:00
dana
5f68531b5d
42209: take account of numeric options such as -4 instead of -t4
2018-01-04 00:05:59 +01:00
dana
9f8ed99146
42209: fix option descriptions for non-GNU variants of tr
2018-01-04 00:01:58 +01:00
Oliver Kiddle
f7a5211f38
42208: fix use of cache variables in yp completion
2018-01-03 18:39:55 +01:00
dana
d81bfa0141
42207: support g prefixes for GNU variants on systems like macOS+Homebrew
2018-01-03 17:27:23 +01:00
Matthew Martin
dd824080ca
42117: use anonymous function rather than define one in user namespace
2018-01-03 17:11:00 +01:00
Eric Cook
99cf61fd42
42171: prevent parameters of various parameters from becoming global
2018-01-02 14:38:03 -05:00
Jun-ichi Takimoto
3c24adb2ed
42183: _objdump: support LLVM variant
2017-12-31 10:11:59 +09:00
Daniel Shahaf
dd5ab15b5f
42186: _apt: Fix completion of target_release names, e.g., 'apt install zsh/<TAB>'.
...
When local-apt-repository is installed, 'apt-cache policy' contains
.
100 /var/lib/dpkg/status
release a=now
500 file:/var/lib/local-apt-repository ./ Packages
release o=local-apt-repository,c=
.
which was matched by the pattern being patched.
2017-12-30 06:15:22 +00:00
Daniel Shahaf
a8ad9768bd
unposted: vcs_info: Add docstrings to the internal functions VCS_INFO_formats and VCS_INFO_set.
2017-12-30 06:14:22 +00:00