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

8578 commits

Author SHA1 Message Date
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
Jun-ichi Takimoto
d303dfa7f5 42175 + 42177 + 42178: avoid localized output from external commands
_call_program and '_arguments --' will call _comp_locale before
calling external command for easier analysis of the output.
This is disabled by passing an option '-l'.
2017-12-28 11:35:34 +09:00
Jun-ichi Takimoto
24152f766f 42176: _tar: update long options 2017-12-27 09:44:53 +09:00
Peter Stephenson
5f6a52c06c 42156: new CHECK_RUNNING_JOBS option demanded by bash groupies
Also new job options.

Also suppress debug error if rows or columns are reported as zero as
this is normal without a physical terminal.
2017-12-22 20:21:23 +00:00
dana
349c95765a dana: various OpenSSH completion improvements 2017-12-22 19:58:24 +00:00
Peter Stephenson
8ec3d17b4b 33395: Improvments for function managment.
Functions defined inside other fucntions needs file line number
adding.  Particularly useful for anonymous fucntions.

Add flag to indicate a function is anonymous.  Done up to now
by comparing the name to a pointer but this is more consistent.
2017-12-22 19:51:04 +00:00
dana
932ed86483 dana: 42145: Fix additional completion cases with option arguments. 2017-12-20 09:07:28 +00:00
Daniel Shahaf
4b55c0f40c 42146: type -w += global aliases
Follow-up to 36403, which did the same for suffix aliases.
2017-12-20 05:43:42 +00:00
Daniel Shahaf
a254c1815a 42138: _git-revert: Complete recent commits first. 2017-12-20 04:13:39 +00:00
Daniel Shahaf
a9e60dc179 users/13148 (and workers/42060): Abort the command line when replying
"[n] No" to the RM_STAR_SILENT prompt.

Patch by Stephane, rebased by Mikael.
2017-12-20 04:13:01 +00:00
Jun-ichi Takimoto
972cf4197e * 42143: fix a pattern in _object_files 2017-12-20 00:49:26 +09:00
Jun-ichi Takimoto
dae5d1d5ba 42412: fix a bug in 42116
Also fix a few widgets which were calling wrong function when negative
numeric argument was given.
2017-12-18 23:49:31 +09:00
Jun-ichi Takimoto
5f33a93afb 42116: multibyte support for ZLE vi-mode word motion 2017-12-18 12:48:25 +09:00
Peter Stephenson
aab0f6d763 42123 (tweaked): take account of Dash in function names.
Needed when comparing word code function name with autoload request.

Add test.
2017-12-15 09:00:37 +00:00
dana
cb04ae40af add millisecond and microsecond options to TIMEFMT variable 2017-12-14 15:36:46 +00:00
Peter Stephenson
a3d92298ff 42113: BSD complation updates.
Remove use of pkg_* for FreeBSD.

Add BSD architecture utilities.
2017-12-13 18:08:18 +00:00
Peter Stephenson
97c74dcb0e 42110: Fix redirections between variable assignments at start of line 2017-12-12 09:13:41 +00:00
Mikael Magnusson
45f3169c51 unposted: fix dana's name in ChangeLog 2017-12-02 06:46:56 +01:00
dana
2bc02b4f98 42065: new getopts tests 2017-12-01 09:51:17 +00:00
dana
755f8571d4 42063: getopts errors now report "+" in front of option where appropriate 2017-12-01 09:19:13 +00:00
Daniel Shahaf
77a39b57bf 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather than a syntax error. 2017-11-24 22:10:27 +00:00
Dima Kogan
487489c522 stat() for glob qualifiers lost information in corner case 2017-11-20 09:59:51 +00:00
Peter Stephenson
e2f793e7df 42037: COMP_POINT for bash completion was miscalculated. 2017-11-20 09:52:05 +00:00
Oliver Kiddle
09939216d4 42019: update options in git completion to 2.15
also improve format completion for git tag and for-each-ref
2017-11-13 21:47:29 +01:00
Oliver Kiddle
d0b2549ba8 gitlab #1: update options for sqlite 3.21.0 2017-11-13 21:26:37 +01:00
Malcolm Ramsay
d8e3218938 Specify system python in dnf completion
The python executable in the python_exec variable was the python[2|3]
executable found in $PATH. When the python[2|3] executable was not the
system installed version the completion command raised an `ImportError`
as the 'dnf' module was not found.

This commit just completely specifies the python version to be the
system version `/usr/bin/python[2|3]`, allowing completion within a
python dev environment.
2017-11-13 21:14:56 +01:00
Chris Bracken
2c00d2132c github #19: Fix minor typo in INC_APPEND_HISTORY documentation 2017-11-13 21:06:35 +01:00
Martijn Dekker
b432d518e4 42004: fix parentheses in documentation 2017-11-11 12:42:51 +00:00
Daniel Shahaf
7f619220bf unposted: _sshfs: Make the -o option repeatable, accept "--". 2017-11-04 17:31:18 +00:00
Oliver Kiddle
1bfcff129d 41983: fix exclusion of long options with (-) on a normal argument 2017-11-04 00:57:48 +01:00
Daniel Shahaf
5498e0cb9e 41969: _sort: Clarify option description. 2017-11-03 20:40:05 +00:00
Oliver Kiddle
0ebf336489 41971: correctly break out of certain tag loops when there are matches 2017-11-02 21:36:55 +01:00