about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 52102: Add subcommand autopurge to apt completionJörg Sommer2023-09-202-9/+8
| | | | | Autopurge (like autoremove) take the same options like purge and remove the given packages along with their dependencies they become unused.
* 52141: Add trailer token completion for git commit --trailerWesley Schwengle2023-09-202-1/+17
| | | | | | | | Via 842587016d in the git project there has been support for git commit trailer tokens for the bash completion system. This commit adds similar support to zsh. It includes additional hardening of the regexp and allows for tokens which include a '.'. This can be found in git via 9a0ec17606.
* 52163: completion update for OpenZFS 2.2Oliver Kiddle2023-09-202-16/+98
|
* users/29160, workers/52156: Fix repetition of substitution modifier.Bart Schaefer2023-09-163-2/+10
|
* 52082: Enable linewise edit-command when in visual-line mode.Christoffer Lundell2023-09-162-4/+22
|
* 52155: Test file missed out from previous commitBart Schaefer2023-09-161-0/+448
|
* 52154, 52155: Implement, document, and test non-forking command substitution.Bart Schaefer2023-09-164-25/+254
| | | | | | Comprises workers/51957, 51985, 51987, 51988, 51993, 52131, 52139, plus fixes for return values, parse errors, and trailing newlines (which were incorrectly removed) in ${ ... }
* 52153: mapfile without HAVE_MMAP should not trim newlinesBart Schaefer2023-09-163-13/+46
|
* 52142: Move _history_modifiers call to _parameterMikael Magnusson2023-09-153-5/+11
| | | | | | | _parameters is used in many contexts, like assignments in command position, assignment after typeset, etc, where history modifiers are not valid. _brace_parameter already calls _history_modifiers explicitly so this seems more in line with that.
* 52122 + 52129: fix (#) parameter expansion flagJun-ichi Takimoto2023-09-133-3/+56
| | | | Without the X flag, null string "" is substituted for bad math expression.
* 52125: getoutput() must not free() after gettempname(..., 1) for heapBart Schaefer2023-09-102-1/+4
|
* unposted: extra quoting of words in "eval" for safetyBart Schaefer2023-09-092-2/+6
|
* 52114: improve _niceJun-ichi Takimoto2023-09-072-9/+23
| | | | support -n option, complete only external commands
* 52115: permit repeated "private" declarations as long as types aren't changedBart Schaefer2023-09-053-3/+68
|
* 52112: use '_normal -p subcmd' to complete only external commandJun-ichi Takimoto2023-09-0415-16/+28
|
* users/29220: fix bug with assignment to private following explicit unsetBart Schaefer2023-09-033-11/+30
|
* 52098, 52099, 52100, 52105(+minor tweak): update for latest macOSShohei YOSHIDA2023-08-285-11/+29
|
* 51858 (+52073): virsh's edit command accepts all domainssergio2023-08-282-1/+5
|
* Marlon Richert: 51861: fix _approximate when compadd has been overriddenBart Schaefer2023-08-272-26/+26
| | | | | Before this patch, if compadd had been overridden by a function of the same name, _approximate would not do corrections.
* 52028: improvements to _shadow / _unshadow, plus helper and docBart Schaefer2023-08-275-43/+112
|
* 52053: whitelist capability CAP_WAKE_ALARMRobert Woods2023-08-272-3/+6
| | | | | | | | Since the systemd update v254 from July 28, 2023, the capability 'CAP_WAKE_ALARM' is passed by default to some user process (especially desktop managers). Since 'CAP_WAKE_ALARM' is very narrow in focus, it is preferable that zsh does not consider it as a 'privileged' capability.
* 52034: update sqlite3 completion for version 3.42.0Shohei YOSHIDA2023-08-272-0/+9
|
* users/29175: Don't need to forget zle edits if noneNojus Gudinavičius2023-08-222-0/+18
|
* 52059 (+52070): _scons: fix for options --jobs and --questionShohei YOSHIDA2023-08-212-2/+7
|
* 29130, 21931 (Ray): document what typeset -t is for.Peter Stephenson2023-08-162-2/+9
| | | | This replaces documenting what it isn't for.
* 52037: complete only external commands for env/watchJun-ichi Takimoto2023-08-144-5/+12
| | | | also includes a few minor fixes for _date, _env and _watch
* 52013,52014,52015,52016,52017,52018: updates for coreutils option changesShohei YOSHIDA2023-08-067-0/+26
|
* 52008: Pattern bug with branches + exclusionPeter Stephenson2023-08-013-2/+51
| | | | Add tests.
* github #100: _qemu: add -enable-kvm and -bios suggestionHexorCatZ2023-07-312-0/+7
|
* unposted (cf. 51968): improve documentation of typeset -gn and -rBart Schaefer2023-07-262-2/+5
|
* 51945: assorted documentation improvements, bug fixes, and new testBart Schaefer2023-07-267-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.
* 51979: Update free completion for procps-ng version 4.0.3Shohei YOSHIDA2023-07-262-0/+4
|
* 51964: support pidof variants other than procpsShohei YOSHIDA2023-07-262-13/+48
|
* 51969: read -d and -s should not reset terminal state when stdin is redirectedBart Schaefer2023-07-262-3/+6
|
* Fix reversed article numbers in most recent entryBart Schaefer2023-07-261-1/+1
|
* 51950 (tweak per 51949): correct Thingy refcount in raw_getbyte()Bart Schaefer2023-07-262-1/+5
|
* 51927: Update procps watch completion for version 4.0.3Shohei YOSHIDA2023-07-262-0/+6
|
* unposted (cf. 51899): document _shadowBart Schaefer2023-07-262-0/+48
|
* 51977: PIPEFAIL interaction with ERREXIT / ERRRETURNPeter Stephenson2023-07-203-5/+75
| | | | | | Ensure the list-level error handling code is executed if we detect pipe failure for a foreground job. Add tests.
* github #99: _trash: add completion for trash-dmirsella2023-07-193-22/+62
| | | | https://github.com/rushsteve1/trash-d
* 51897: update _softwareupdateJun-ichi Takimoto2023-07-102-58/+98
| | | | based on 51895 (Shohei YOSHIDA)
* 51890: fix "whence -wa" for multiple argumentsBart Schaefer2023-07-092-0/+5
|
* 51889: fix module loading problem with full RELROJun-ichi Takimoto2023-06-263-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.
* 51884: reset IFS if it contains invalid charactersJun-ichi Takimoto2023-06-265-18/+61
| | | | This happens only if MULTIBYTE option is on.
* 51887: namespaces recognized in math, incorrect usages rejected.Bart Schaefer2023-06-224-6/+86
|
* Missed ChangeLog entry from previous commit.Bart Schaefer2023-06-221-0/+4
|
* 51860: simplify suffix handling in _prefix to remove less accurate hackMarlon Richert2023-06-223-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.
* 51813: differentiate empty $2 from omitted $2 in version comparisonsStephane Chazelas2023-06-222-2/+13
|
* 51877: do not build pcre module if pcre2-config is not foundJun-ichi Takimoto2023-06-203-13/+25
|
* 51862: support texinfo-7.0Jun-ichi Takimoto2023-06-193-1/+11
|