Barton E. Schaefer
70166178bd
39131: return on error needs to be at the outer scope.
2016-08-30 20:31:21 -07:00
Daniel Shahaf
c2592b4f72
39122: __git_recent_branches: Silence warning on an edge case.
...
(The warning was correct; there is no functional change, though.)
2016-08-31 02:23:39 +00:00
Daniel Shahaf
4ce0b1c098
39108 (tweaked): _postfix: Support $enable_long_queue_ids.
...
Note that this not only adds a second compadd invocation but also adds a space
to the first compadd invocation, to prevent the start of a new-style queue id
from matching as an old-style queue id.
2016-08-30 01:58:59 +00:00
Daniel Shahaf
d916ba1a00
39110: _postfix: Complete 'postconf'.
2016-08-30 01:57:55 +00:00
Daniel Shahaf
823bb6fe85
39107: _postfix: Complete 'postqueue'. Also minor tweaks to 'postsuper'.
2016-08-30 01:57:55 +00:00
Daniel Shahaf
1712c62633
39109: _postfix: Use mailq to obtain queue id's.
...
'mailq' is usually in */bin (as opposed to */sbin) and so is more likely
to be in $PATH.
2016-08-30 01:57:54 +00:00
Barton E. Schaefer
fa48711e31
39115: repair forced joining when (@) and (j) are used together
2016-08-29 08:34:03 -07:00
Mikael Magnusson
44a820f1c5
39112: _x_utils: Use state_descr
2016-08-29 15:57:36 +02:00
Daniel Shahaf
1f00f68367
39105: _hashed_absolute_command_paths: Make the display string the basename.
...
This makes better use of terminal real estate.
2016-08-27 18:13:27 +00:00
Daniel Shahaf
b62d9eb63e
39103: _typed-in_absolute_command_paths: Better handle non-empty arguments that don't start with a slash.
2016-08-27 18:12:01 +00:00
Daniel Shahaf
aa041f7a5a
39070: umount: Complete /f/b<TAB> → /foo/bar (for absolute path arguments only, for now)
2016-08-27 18:12:01 +00:00
Barton E. Schaefer
b312abc93b
39104: do not hash relative paths in findcmd()
2016-08-26 15:05:15 -07:00
Daniel Shahaf
317c96b64f
39102: __git_recent_branches: Optimise.
...
This improves performance from 0.6s to 0.04s (+93%) on one of Daniel Hahler's repositories.
2016-08-25 18:12:41 +00:00
Daniel Shahaf
4d995160e4
39094: _git-config: When an option is unknown, complete its value to the set value.
2016-08-24 21:15:00 +00:00
Jun-ichi Takimoto
acad0620ef
39087: fix 'conditionally uninitialized' variables
2016-08-23 18:18:50 +09:00
Jun-ichi Takimoto
d1d79796fb
39086: declare file local variables as 'static'
2016-08-23 18:14:18 +09:00
Oliver Kiddle
18aa25c75d
unposted (c.f. Mikael: 39078): fix for git blame terms
2016-08-22 11:54:04 +02:00
Daniel Shahaf
c8b228b1ea
unposted: _git-config: sendemail.smtpserver: Correct tags.
2016-08-22 03:38:12 +00:00
Daniel Shahaf
7154052ebe
39046 + 39061: New :P history modifier.
2016-08-22 03:34:30 +00:00
Jun-ichi Takimoto
4b2810ab2d
39064: use scalbn() instead of scalb() (mathfunc.c)
2016-08-20 23:52:01 +09:00
Daniel Shahaf
1c6d3e3f04
39074: _ip-neighbour: Fix typo in 'lladdr'.
2016-08-20 03:01:46 +00:00
Oliver Kiddle
31dc8b52b5
39072: minor tweaks
2016-08-19 19:11:07 +02:00
Oliver Kiddle
4200466217
39071: update completion functions for changes in Solaris 11.3
2016-08-19 19:06:37 +02:00
Oliver Kiddle
580698bc71
39067: update options to correspond to latest versions of software in various functions
2016-08-19 18:00:07 +02:00
Daniel Shahaf
283357dcab
unposted: _canonical_paths: Port docstring changes from 39044.
2016-08-18 16:59:09 +00:00
Daniel Shahaf
0aa6bfd831
39044 (in part, see thread): Document _canonical_paths in the manual, too.
...
This mostly copy-pastes the source code comments and adds markup, however, the
positional arguments are now annotated optional, and a ')' was added.
2016-08-18 16:55:45 +00:00
Peter Stephenson
062aeca2d2
39039: fix documentation of transpose-words
2016-08-15 12:06:24 +01:00
Daniel Hahler
ef64b6a929
39040: Completion/…/_git: fix missing backslashes in 39036
2016-08-15 12:06:58 +02:00
Oliver Kiddle
30aafc0b68
39036: update git completion for new options up to git 2.9.2
2016-08-13 01:37:57 +02:00
Oliver Kiddle
f760bd6064
39026: pattern specified with _arguments' -A option shouldn't be checked against words after the cursor
2016-08-13 01:32:31 +02:00
Barton E. Schaefer
a1a58dde6a
39035: ${(A)name=word} should expand as an array even when there is only one element.
2016-08-12 16:10:26 -07:00
Peter Stephenson
04003e038a
39031: Ensure variables in transpose-words are initialised
2016-08-12 12:56:34 +01:00
Peter Stephenson
bedb61fd99
39029: document transpose-words change
2016-08-12 12:54:34 +01:00
Han Pingtian
b2be8e1b6e
38983: Make transpose-words handle numeric arguments sensibly
2016-08-12 09:51:55 +01:00
Barton E. Schaefer
68e14c41f2
39028: more join/split cases fixed and tested.
2016-08-12 00:55:32 -07:00
Barton E. Schaefer
4234fccef6
39019 (cf. PWS 39013): add test cases for more join/split combinations
...
Accidentally omitted from previous commit.
2016-08-11 10:08:16 -07:00
Barton E. Schaefer
f7c3aa170b
39019 (cf. PWS 39013): fix SHWORDSPLIT regression introduced by workers/29313
...
Also add test cases for more join/split combinations
2016-08-10 18:33:04 -07:00
Mikael Magnusson
caf48686d0
39014: Use special OpenBSD interface to get correct rand() behavior
2016-08-10 19:06:13 +02:00
Barton E. Schaefer
ac0dcc9a63
unposted: fix typo in comment
2016-08-06 20:07:26 -07:00
Barton E. Schaefer
6ce34705a6
unposted: fix formatting in module discussion; add mention of widgets and keymaps for modules.
2016-08-06 20:05:23 -07:00
Daniel Shahaf
81409caee7
workers/38995 (in part): compfiles: Add reverse-engineered documentation breadcrumbs.
2016-08-05 12:43:57 +00:00
Daniel Shahaf
dfae92c483
38996: _man: Support _correct_word.
...
Since compfiles is undocumented, avoid its use altogether, replacing it by
a construct that blackbox analysis suggests to be equivalent.
The compfiles call being removed effected the following change (when
completing «man -S 8:1 getc<TAB>»):
BEFORE THE CALL:
typeset -a pages=( /home/daniel/prefix/zsh/share/man/man1/
/usr/share/man/man8/
/usr/share/man/man1/ )
AFTER THE CALL:
typeset -a pages=( '/home/daniel/prefix/zsh/share/man/man1/getc*(8|1)*'
'/usr/share/man/man8/getc*(8|1)*'
'/usr/share/man/man1/getc*(8|1)*' )
This patch effects the same transformation (modulo doubling the final slash).
Any -M parameter will be passed to compadd.
2016-08-05 12:37:30 +00:00
Daniel Shahaf
71f1653020
38994: _man: Fix two bugs when completing manpage filenames in separate-sections mode.
...
- No longer glob all files (the (-g)-less _path_files was virtually always called,
by at least one of the multiple calls to _man_pages).
- Actually separate sections (by propagating $expl).
2016-08-05 12:37:29 +00:00
Daniel Shahaf
a5a9fc7a5f
38993: _man: Drop (b): it's incorrect when $sect contains '|'.
2016-08-05 12:37:27 +00:00
Daniel Shahaf
f026a4dc12
38991: Make 'whence -v autoloaded-function' shows the defining filename.
...
This may also fix a problem whereby the %x prompt escape evaluated to
a function name rather than a filename, since %x is also backed by
scriptfilename.
2016-08-05 12:37:26 +00:00
Daniel Shahaf
dd6f79759f
38990: _debbugs_bugnumber: Track bts's data dir migration.
2016-08-05 12:37:25 +00:00
Jun-ichi Takimoto
7f052ed3e4
unposted: fix format in zle.yo
2016-08-04 19:32:34 +09:00
Oliver Kiddle
81f229a037
38989: minor completion updates for FreeBSD
2016-08-03 17:29:41 +02:00
Oliver Kiddle
7d282fa588
38986: new gsettings completion
2016-08-03 17:27:25 +02:00
Daniel Shahaf
f70615d878
38981: _man: Followup to 37634: unbreak OpenBSD 'man 3p' and Linux $MANSECT.
...
The breakage was reported in 38516.
2016-08-01 21:15:47 +00:00