about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 40391: Add WARN_NESTED_VAR option and functions -W.Peter Stephenson2017-01-2310-37/+177
| | | | | These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered.
* unposted: Etc/BUGS: Record users/20807 vcs_info quilt issue.Daniel Shahaf2017-01-232-0/+9
|
* 43080: a few more tests for autoload with absolute pathPeter Stephenson2017-01-182-0/+28
|
* 40375: autoload with explicit path mustn't trash already loaded function.Peter Stephenson2017-01-183-4/+35
| | | | | Also remove unnecessary dupstring() on already duplicated string when expanding =cmd.
* unposted: "autooad ~..." also completes filePeter Stephenson2017-01-172-1/+6
|
* 40369: code should have been committed with 0a2d92f98Peter Stephenson2017-01-171-2/+2
|
* 40372: turn off POSIX_IDENTIFIERS option in completionPeter Stephenson2017-01-162-0/+4
|
* 40369: quote command paths in whence -vPeter Stephenson2017-01-161-0/+3
|
* 40353 with tweaks to whence -v: extend directory cache use.Peter Stephenson2017-01-164-31/+92
| | | | | | Now used for all autoloaded functions after load, including those where the file was found along fpath, reducing duplication of directory names.
* 40362: Fix setting of parameter values in compvaluesPeter Stephenson2017-01-152-2/+8
|
* 40355: _mpc: improve playlist completionEarnestly2017-01-132-1/+6
|
* 40345: update lsusb completionOliver Kiddle2017-01-132-14/+20
|
* 40344: new lsblk completionOliver Kiddle2017-01-132-0/+61
|
* unposted: one missing *name = NULLPeter Stephenson2017-01-122-0/+3
|
* 40342: Add directory name cache for autoload file paths.Peter Stephenson2017-01-126-12/+200
| | | | | This renders "autoload /blah/blah/*" as efficient as use of fpath.
* 40335: More care with autoload function path.Peter Stephenson2017-01-125-6/+27
| | | | | | If doing "autoload -X", the path present might actually be location of file containing the function with the autoload -X. Add an explicit flag to say it's a directory for autoload.
* 40333: Fix the watch interface for utmpxJens Elkner2017-01-122-54/+47
|
* 40332: completion for new autoload featuresPeter Stephenson2017-01-112-8/+21
|
* 40321: _arguments option groupsOliver Kiddle2017-01-114-106/+248
|
* unposted: more care with shell function filename.Peter Stephenson2017-01-113-1/+8
| | | | | | | When updating shfunc structure to change filename we should be careful to free whatever's there already, we may now be the directory in which to find the function definition. After loading the field contains the full name of the file.
* Add features associated with autoloading a function using an absolutePeter Stephenson2017-01-119-81/+341
| | | | | | | | | | | | | path. -d defaults to normal fpath -r remembers the path without actually loading. May be combined with -d. -R does the same but it's an error if not found -X can now take a directory path: this is used to output not yet loaded functions that have an associated path.
* 40305: fix some problems redisplaying command line after interrupt.Peter Stephenson2017-01-105-6/+31
| | | | | | | | | | | | Back off previous fix as this only covered some subset of problems. Remaining problems happend after reset-prompt in TRAPINT. One was in complist and is fixed by not attempting to list after an error or interrupt. The other was owing to not resetting clearflag when ZLE was re-entered.
* 40306 with doc tweaks: Change behaviour expanding alias in () function ↵Peter Stephenson2017-01-108-6/+129
| | | | | | | definition. Now an error unless the () is part of the same error as the name. Add ALIAS_FUNC_DEF option to allow it again.
* 40303: _bts: Add more subcommands.Daniel Shahaf2017-01-102-6/+62
| | | | Since 'done' is deprecated, stop offering it but do complete after it.
* 40318 (in part): Document echo \c behaviour.Phil Pennock2017-01-102-1/+6
|
* 40302: New _swaks completion (common options only).Daniel Shahaf2017-01-102-0/+45
|
* unposted: LICENCE: Update year to $now (2017).Daniel Shahaf2017-01-082-1/+5
|
* 40285: Be more careful with pattern allocation in history isearch.Peter Stephenson2017-01-062-4/+13
| | | | | | If there are ZLE hooks to be called, they may use patterns, in which case it's not safe to allocate the isearch pattern in the static buffer.
* 40270 (after 39995): Add cross-reference for robustness.Daniel Shahaf2017-01-052-0/+5
|
* 40264: _man: Complete all sections after '-a'.Daniel Shahaf2017-01-052-1/+8
| | | | Followup to 37634.
* users/22320: Etc/BUGS: Add 40240, label 40106.Daniel Shahaf2017-01-052-2/+13
|
* 40269: handle option exclusion within current word for clumped optionsOliver Kiddle2017-01-053-19/+37
| | | | This replaces the change made in 13999 with an alternative approach.
* 40227: handle _arguments sets and rest arguments starting with a dashOliver Kiddle2017-01-043-20/+36
| | | | | This is a new approach to the problem first covered by 39611: checking to see if an option-like argument belongs to one of the other sets.
* 40226: tidy up some of the _arguments set codeOliver Kiddle2017-01-043-72/+91
| | | | | | Remove old code for applying explicit exclusions between sets which fixes some odd behaviour. Some struct members were unused. Also added some comments and test cases.
* users/22319: ${ary1:^ary2} should not change isarr state of expansion of ary1Barton E. Schaefer2017-01-032-2/+10
| | | | Unless ary1 is made from a scalar, semantics of (@) in double quotes is lost.
* 40248: suppress errors from zshaddhistoryhookBarton E. Schaefer2017-01-032-1/+7
| | | | and do not call it if no history entry will be written
* 40265: Fix problems with pure string in patterns with Meta.Peter Stephenson2017-01-032-7/+5
| | | | | | Copy instead of relying on jiggery pokery with memory reallocation. Problem was triggering with string ending with Dash converted to -.
* 40260: zero new space allocated in prompt bufferPaulo Andrade2017-01-032-0/+6
|
* 40231: Optimise setarrvalue().Sebastian Gniazdowski2016-12-282-16/+38
|
* 40232: Remove SH_USE_BSD_ECHO autoconf test.Daniel Shahaf2016-12-282-15/+4
| | | | | | It is unused; doesn't make sense in "build on one box, install on many" context; and its presence causes the downstream packages that install config.h to be non-reproducible.
* unposted (see users/22287): _comp_options needs to disable ERR_RETURNBarton E. Schaefer2016-12-272-0/+6
|
* Oliver: 40118: alternate fix replacing 40115Barton E. Schaefer2016-12-242-25/+28
| | | | | This commit reverts 40115 (commit 3594f55f) thus restoring 38579, then applies 40118: Relocate BUFFER/CURSOR reset to work around "fc -p" issue
* 40162: _arguments support for a match spec in combination with setsOliver Kiddle2016-12-223-1/+11
|
* unposted: Post-release version bump to 5.3.1-dev-0.Daniel Shahaf2016-12-222-2/+7
|
* unposted: Release 5.3.1 zsh-5.3.1Peter Stephenson2016-12-215-9/+16
|
* 40210: Add support modern FreeBSD and drop support for FreeBSD < 5Baptiste Daroussin2016-12-182-3/+8
|
* 40209: Fix typo in chflags completionBaptiste Daroussin2016-12-182-1/+6
|
* 40149: vcs_info git: Avoid a fork.Daniel Shahaf2016-12-162-1/+4
|
* 40203: Resolve 'printf --' question from grandparent commit (thanks Chet).Daniel Shahaf2016-12-162-2/+5
|
* 40198: output of B02typeset differs when (( UID == 0 )) so do not attempt to ↵Barton E. Schaefer2016-12-152-6/+15
| | | | redo that test in that case