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
Martijn Dekker
bf04ffb542
41866: No error unsetting nonexistent function for POSIXBUILTINS
2017-11-02 20:03:45 +00:00
Oliver Kiddle
2273fe478a
41965: complete new functions -W and zmodload -s options
2017-10-31 00:55:02 +01:00
Oliver Kiddle
aaa001e534
41963: update completion for gnutls 3.6.1
2017-10-31 00:51:42 +01:00
Daniel Shahaf
660df206c1
41939: docs: Move aliases corner case to the dangerous bends section. (after 41482)
2017-10-30 13:30:08 +00:00
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