summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-2651945: assorted documentation improvements, bug fixes, and new testBart Schaefer7-18/+132
1) Document the behavior of "typeset -n existing_var" (via Jun T. comment) 2) Prohibit "typeset -nm pattern" because, well, it's insane. Add test. 3) Improve doc for ${(!)ref} including ${{t!)ref} (Jun T.) 4) Fix doc for how-to unset of a named ref (Jun T.) 5) Allow "typeset +r -n ref" and "typeset +r +n ref" (Jun T.) 6) Fix "typeset -r -n ref=param" to create readonly references 7) Avoid accidental removal of PM_UNSET flag (Jun T.) and update test 8) Fix "typeset -gn ref=value" and add a test for it 9) Add tests for read-only reference behavior 10) Fix infinite recursion when resolving scope of an unset local named reference, add test.
2023-07-2651979: Update free completion for procps-ng version 4.0.3Shohei YOSHIDA2-0/+4
2023-07-2651964: support pidof variants other than procpsShohei YOSHIDA2-13/+48
2023-07-2651969: read -d and -s should not reset terminal state when stdin is redirectedBart Schaefer2-3/+6
2023-07-26Fix reversed article numbers in most recent entryBart Schaefer1-1/+1
2023-07-2651950 (tweak per 51949): correct Thingy refcount in raw_getbyte()Bart Schaefer2-1/+5
2023-07-2651927: Update procps watch completion for version 4.0.3Shohei YOSHIDA2-0/+6
2023-07-26unposted (cf. 51899): document _shadowBart Schaefer2-0/+48
2023-07-2051977: PIPEFAIL interaction with ERREXIT / ERRRETURNPeter Stephenson3-5/+75
Ensure the list-level error handling code is executed if we detect pipe failure for a foreground job. Add tests.
2023-07-19github #99: _trash: add completion for trash-dmirsella3-22/+62
https://github.com/rushsteve1/trash-d
2023-07-1051897: update _softwareupdateJun-ichi Takimoto2-58/+98
based on 51895 (Shohei YOSHIDA)
2023-07-0951890: fix "whence -wa" for multiple argumentsBart Schaefer2-0/+5
2023-06-2651889: fix module loading problem with full RELROJun-ichi Takimoto3-1/+29
If full RELRO (relocation read-only, one of the security enhancement methods for ELF-based systems) is used when building zsh (as in binary packages of most Linuxes), loading a module (e.g. zsh/zftp) fails unless all the modules it depends on are already loaded. With this patch the necessary modules are automatically loaded.
2023-06-2651884: reset IFS if it contains invalid charactersJun-ichi Takimoto5-18/+61
This happens only if MULTIBYTE option is on.
2023-06-2251887: namespaces recognized in math, incorrect usages rejected.Bart Schaefer4-6/+86
2023-06-22Missed ChangeLog entry from previous commit.Bart Schaefer1-0/+4
2023-06-2251860: simplify suffix handling in _prefix to remove less accurate hackMarlon Richert3-8/+57
This solves the following problems in the _prefix completer: - The old code had logic for dealing with compstate[unambiguous] that was unnecessary. It works fine without it. - Because of this logic, if a widget set compstate[insert]=1 after calling _main_complete, an `x` was left after the completion on the command line. - If the same widget also set `compstate[to_end]=`, then instead, the last character of the inserted completion would be treated as an autoremovable suffix, with the actual suffix being inserted to the line as a normal character. - After inserting a completion, the cursor would move to the end of the entire current word on the command, not the end of word that was inserted. This is not what you want with _prefix, since you are trying to complete a word _before_ the one on the command line, after which you usually want to insert a separator, such as a space or slash, before the next word.
2023-06-2251813: differentiate empty $2 from omitted $2 in version comparisonsStephane Chazelas2-2/+13
2023-06-2051877: do not build pcre module if pcre2-config is not foundJun-ichi Takimoto3-13/+25
2023-06-1951862: support texinfo-7.0Jun-ichi Takimoto3-1/+11
2023-06-0851826: correctly read metafied null character from history fileJun-ichi Takimoto2-2/+11
2023-06-0851817: protect ':' in _rcctlStephane Chazelas3-14/+6
This was in 51817 but missed in commit 0577daf. Also remove _ant.rej that was added by the commit.
2023-06-06Protect another : from history modifier expansionStephane Chazelas2-1/+3
2023-06-06Protect some :s from history modifier expansionStephane Chazelas7-8/+24
2023-06-0651816: add :S history modifier with pattern matchPeter Stephenson5-14/+49
2023-06-0651779: update completion test for 51761Marlon Richert2-5/+10
2023-05-2551739: detect invalid history word beginningPeter Stephenson2-1/+10
2023-05-2151769: fix compilation when HAVE_GETRUSAGE is not definedOliver Kiddle3-1/+6
Also silence compiler warning when HAVE_SETUPTERM is not defined.
2023-05-2151761: Use zstyle verbose for _parameters descriptionsMarlon Richert2-1/+4
According to the manual, extra-verbose means "more verbose at the cost of a probable decrease in completion speed". That's not the case here.
2023-05-2151348: Fix subscript completion bugs inside ~[...]Marlon Richert3-16/+26
When completing inside ~[...] (_with_ the trailing `]` present), the following bugs occured: - Subscript completion was skipped entirely when there were one or more slashes ('/') in the subscript, which is incorrect, since slashes are allowed there. - Instead of going through _complete, $_comps[-subscript-] was called immediately, causing _setup to be skipped. - If succesful, _main_complete was exited right after, causing menu-style, comppostfuncs and other essential completion features to be skipped.
2023-05-2151759: Show alias values in command completionsMarlon Richert2-2/+11
Show the value of each alias when descriptions are shown. Enabled by default.
2023-05-2151760: r and R were listed in the wrong order.Marlon Richert2-3/+6
2023-05-2151758: Make dynamic dir completion easier to implementMarlon Richert4-35/+56
2023-05-1351722: Safety for extracting elements of $historywordsPeter Stephenson2-2/+14
2023-05-1351738: support pcre's alternative DFA matching algorithmOliver Kiddle4-18/+49
2023-05-1351728: assign pcre named capture groups to a hashOliver Kiddle4-14/+56
2023-05-1351723: migrate pcre module to pcre2Oliver Kiddle4-149/+110
2023-05-1350612: vcs_info: fix typoFelipe Contreras2-1/+3
2023-05-13github #98: feat: add `shortcuts` completionsVidhan Bhatt2-0/+93
2023-05-11users/29070: clean up tokens in cmdstr before compctl completionBart Schaefer2-0/+5
2023-05-1151609: fix reference to select(2)Jim2-1/+4
2023-05-1151340: update _rake for version 13Shohei YOSHIDA2-3/+17
2023-05-1151331: update _pydoc for version 3.11Shohei YOSHIDA2-2/+8
2023-05-1051593: improve search for command name after skipping prefix assignmentsBart Schaefer2-3/+8
This is aimed mostly at use of run-help as a standalone function rather than as a widget. When run-help is invoked outside widget context, there's no source line to search for the original command name, so this attempts searching the arguments.
2023-05-0851692: not skip tests for [[ -r/-N file ]] on CygwinJun-ichi Takimoto2-7/+6
2023-04-2251670: prevent possible underflow in gettext()Bart Schaefer2-1/+5
2023-04-1851663: fix a typo in 51582 (_ssh)Jun-ichi Takimoto2-1/+5
2023-04-1751652: fix running of TRAPEXIT explicitly.Peter Stephenson3-1/+49
This is a special case where TRAPEXIT is unset within a TRAPEXIT as it should never run in a nested context, so just save the function structure temporarily on the heap.
2023-04-13Add missed ChangeLog entry for 12e5db14Peter Stephenson1-0/+5
2023-04-1151639: new parameter ZSH_EXEPATH (full path of zsh executable)Jun-ichi Takimoto4-1/+145
The full pathname is obatined by a reliable method on macOS and systems that support procfs. But on other systems (FreeBSD, OpenBSD, ...) it is guessed from argv[0], PWD and PATH.