summary refs log tree commit diff
path: root/Completion
Commit message (Collapse)AuthorAgeFilesLines
* unposted: Use alternation patterns rather than brace expansionDaniel Shahaf2020-05-072-3/+3
| | | | (Cf. discussion on GitLab !12.)
* 45614: update _dnfJun-ichi Takimoto2020-05-031-101/+454
|
* 45731: _debsnap: New completion function.Daniel Shahaf2020-05-031-0/+77
|
* 45730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely.Daniel Shahaf2020-05-031-3/+5
| | | | Also, write/extend docstrings for sepjoin() and zjoin().
* 45752/0002: _gcc: Complete --output like -o.Daniel Shahaf2020-05-021-1/+1
|
* 45752/0001: _gcc: Add .cpp and .hpp to the ignored extensions list.Daniel Shahaf2020-05-021-1/+1
|
* github #54: Fix dig completion errordavey hathorn2020-04-211-1/+1
|
* 45655: _retrieve_mac_apps: Update for recent macOSdana2020-04-051-2/+5
|
* 45649: completion: Simplify Unison completion. No functional change.Daniel Shahaf2020-03-291-5/+2
|
* 45646: completion: Unison: Honour the $UNISON variableHenri Menke2020-03-291-2/+2
| | | | | | | | | | | | | | By default Unison uses the ~/.unison directory to store its cache and profiles. However, this location is configurable through the $UNISON environment variable. Quoting from the manual [1]: > If the environment variable UNISON is defined, then its value will be > used as the name of this directory. This patch enables users to move the .unison directory and still enjoy zsh completion for profiles. [1] https://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html#unisondir
* github #46: _git-restore: Complete arguments to the --source option after a ↵Gastón Haro2020-03-281-1/+1
| | | | '=' sign
* github #46: Better restrict git-restore(1) file completionsGastón Haro2020-03-281-5/+9
| | | | | | | | | | Add support to the -S and -W options. Remove the facility for completing files from the tree specified by the --source argument since, upon testing in git 2.26.0, that doesn't seem to be correct behaviour. (Note git-restore(1) says the command is experimental and its semantics may change.) See discussion on the PR for details.
* 45623: _quilt: Add subcommand descriptionsDaniel Shahaf2020-03-271-7/+43
|
* 45622: _quilt: Categorize subcommandsDaniel Shahaf2020-03-271-4/+37
|
* 45572: _sshfs: Complete some more optionsDaniel Shahaf2020-03-171-3/+10
|
* unposted: _git: Fix copy/paste error in earlier commit that broke `git stash ↵dana2020-03-131-1/+1
| | | | | | drop` This was broken by workers/44923 (8aa84bd5fc44)
* 45535: _lz4: Order compression levels numericallydana2020-03-131-2/+7
|
* 45534: _hdiutil: Update image-file extensions, image/disk formats, &c.dana2020-03-131-24/+63
|
* 45531: _sh: Complete options more accuratelydana2020-03-131-12/+34
| | | | | Committing without handling of +x option variants (line 10) pending resolution of workers/45422
* 45424: completion: Add **/sbin to PATH when completing commands like sudodana2020-03-115-22/+50
| | | | | | | | | | | | | | | | | | * Update _command_names to add **/sbin to PATH when not otherwise overridden and _comp_priv_prefix is set. This ensures that, on systems where unprivileged users don't have **/sbin in their PATHs, we can still complete those commands when they try to run them with e.g. sudo * Update functions for privilege-gaining commands to use the aforementioned mechanism * Fix some other minor issues in _pfexec and _doas Changes from the posted diff: * Fix a minor redundancy in _doas * Add _c_p_p=( '' ) hack to _su
* 45524: Add completion for dscverify(1) from Debian's devscripts.Romain Porte2020-03-101-0/+30
|
* Merge remote-tracking branch 'origin/master' into 5.9Daniel Shahaf2020-03-0710-24/+83
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Test/D02glob.ztst: On the "unreadable directories can be globbed (users/24619, users/24626)" test, resolve conflicts by removing the Cygwin-only skip that has been added in master, since the test is passing on this branch. This effectively reverts workers/45492. See discussion starting in workers/45504. * origin/master: unposted: Remove 'sgi', as that OpenBSD port has been discontinued. 45509: fix typos in B01cd.ztst 45490 (+45495 and a test): refactor rlimits.c github #49: Fix typo: longson should be loongson users/24710: Fix job control problem with sudo. 45492: skip test added by users/24633 on Cygwin 45488: COMP_WORDS for bash need "$@"-style quoting 45487: Missing mod_export declarations for AIX 45447: Complete vcs_info_hookadd and vcs_info_hookdel. Expose _vcs_info_hooks as a top-level helper function. 45463: test: kill: Document why we use SIGURG 45453: builtins: kill: Do not signal current process group when pid is empty 45452: builtins: kill: Add `kill ''` regression test with explicit sigspec 45451: builtins: kill: Add basic test suite github #48/0002: vcs_info git: properly detect bare repositories github #48/0001: vcs_info git: avoid warnings in bare repositories unposted: Post-release version bump unposted: Release 5.8 CVE-2019-20044: Update change log for preceding commits Update NEWS/README Add unsetopt/PRIVILEGED tests Clean up error-message white space Improve PRIVILEGED fixes (again) Improve PRIVILEGED fixes Drop privileges securely unposted: V01zmodload: Fix failing test from workers/45385 45423: _su: Improve arg handling, shell look-ups unposted: _zip: Recognise '--' 45385: Add a test for 'zmodload -Fa' preemptively disabling ("blacklisting"?) features. unposted: Test release: 5.7.1-test-3 zsh/system: Fix infinite loop in sysread _diff_options: Restore -w completion lost in workers/43351 unposted: Fix ChangeLog typo. 45368: Add tests for workers/45367's issue about double slashes in 'cd -P' and /home/daniel/in/zsh. 45373: Fix ERR_EXIT bug in else branch of if. 45372: Record a symlink loop bug involving :P 45365: _git: Fix __git_recent_branches for the case when a commit has an empty message 45343: Queue signals around arithmetic evaluations 45344: Document where third-party completion functions should be installed. 45345: internal: ztst.vim: Fix highlighting of zsh comments in test payload unposted: internal: Add some comments and fix indentation. No functional change. 45340: internal: Document the difference between paramtab and realparamtab. 45332: _git: add completion for git-version _brace_parameter: add missing \ Conflicts: ChangeLog Test/D02glob.ztst Test/V01zmodload.ztst
| * unposted: Remove 'sgi', as that OpenBSD port has been discontinued.Daniel Shahaf2020-03-061-1/+1
| | | | | | | | See https://www.openbsd.org/sgi.html and discussion on github PR #49.
| * github #49: Fix typo: longson should be loongsonBryan Irvine2020-03-051-1/+1
| |
| * 45488: COMP_WORDS for bash need "$@"-style quotingMarc2020-02-251-1/+1
| |
| * 45447: Complete vcs_info_hookadd and vcs_info_hookdel. Expose ↵Daniel Shahaf2020-02-193-3/+33
| | | | | | | | _vcs_info_hooks as a top-level helper function.
| * 45423: _su: Improve arg handling, shell look-upsdana2020-02-141-12/+33
| | | | | | | | | | | | | | | | Differences from ML post: * Properly fix escaping issue with $usr (needs unescaped first) * Make $shell emptiness check easier to read (per feedback)
| * unposted: _zip: Recognise '--'dana2020-02-071-3/+3
| |
| * _diff_options: Restore -w completion lost in workers/43351Martin von Wittich2020-02-061-0/+1
| |
| * 45365: _git: Fix __git_recent_branches for the case when a commit has an ↵WGH2020-02-021-2/+2
| | | | | | | | empty message
| * 45332: _git: add completion for git-versionEitan Adler2020-01-191-1/+8
| | | | | | | | Signed-off-by: Eitan Adler <lists@eitanadler.com>
| * _brace_parameter: add missing \Mikael Magnusson2020-01-191-1/+1
| |
* | 45313: _git: Support completion from outside of a worktree when ↵Daniel Shahaf2020-01-171-4/+7
| | | | | | | | | | | | --git-dir/--work-tree are specified on the command line Revised version of workers/41523.
* | Merge remote-tracking branch 'origin/master' into 5.9Daniel Shahaf2020-01-1544-80/+127
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now, as we're preparing to tag the 5.8 release, the 5.9 branch is maintained as a topic branch off master. * origin/master: 45287: zshexpn: Describe parameter elision and add some introductory prose 45302: bin_umask(): Queue signals around umask(). users/24656: docs: Add an example of setting and querying zstyles users/24659: Cross-ref doc for matchers. 45296: D02glob: Clean up after test from users/24633 45290: New helper script for listing XFail tests. users/24633: Add an xfail test for users/24619. unposted: additional typo fix 45280: _git: add -local variants users/24628 (fixed): More doc for selectw-word-style widgets. 45266: Fix losetup completion, broken in da085b7a20729401c725f91ae930200d0deda64f (41720). unposted: Fix punctuation. use /dev/fd on Cygwin for process substitution unposted: Two additional typo fixes. Fix typos reported by codespell in shell code Fix typos reported by codespell in Src/ 45269: Fix misspellings in completions and elsewhere. 45261: _gcc: Detect clang-as-gcc unposted: internal: Remove Vim modeline that interferes with ztst.vim. unposted: internal: ztst.vim: Use :syn-sync to work around (#x) and "`\\\\\\\\`" confusing the highlighting. unposted: internal: zyodl.vim: Support glob qualifiers in example()'s unposted: internal: zyodl.vim: Support yodl comments. github #44: Allow completion for picocom to list symlinks to character devices 45245: _gcc: add some clang specific warnings 45231: _rsync: When completing remote modules, ignore more of the motd. unposted: _tac: Eliminate superfluous variable 45226: _man: Improve completion of file paths 45184: Clarify documentation of %-sequences understood by compadd -[Xx] 45239: Remove 'appendhistory' from zsh-newuser-install 45218: add more options to swaks completion 45196: fix completion after make -C, allowing for -C being used multiple times unposted (after 45183): Fix yodl error: "contrib.yo:4457: No macro: back(...)". 45181: Fix workers/45164: ${(S)%%} will now consider the empty string as a potential match. 45183: Improve documentation examples unposted: Add some tests for ${(S)}, including a regression test for workers/45164. 45169/0002 (tweaked for trailing newlines): Add an expected-to-fail test for workers/44007. 45169/0001: In the test suite, allow test cases to be marked as expected to fail. users/24582 + users/24583: Add regression tests for the previous commit. 24581: Fix array assignments in shell word splitting and completion. 45160: zshexpn: Expand documentation of (S) 45150 + 45152: zshexpn: Use a more minimal example in the documentation of (#b). unposted: internal: Vim ztst support: Add an ftplugin in addition to the syntax highlighter. 45130: _multi_parts: Always pass -f to compadd if given by caller unposted: zerrmsg(): Fix macro guard missed in previous commit unposted: ChangeLog for last commit internal: Allow %L in zerrmsg() in non-debug builds, too.
| * unposted: additional typo fixOliver Kiddle2020-01-111-1/+1
| |
| * 45280: _git: add -local variantsEitan Adler2020-01-111-2/+9
| | | | | | | | | | | | | | | | Technically all timezone formats support the "-local" suffix but it is not meaningful for all of them. As such just list out the specific formats which it does. Also adjust the 'default' description
| * 45266: Fix losetup completion, broken in ↵Daniel Shahaf2020-01-101-1/+1
| | | | | | | | da085b7a20729401c725f91ae930200d0deda64f (41720).
| * unposted: Two additional typo fixes.Daniel Shahaf2020-01-092-2/+2
| |
| * Fix typos reported by codespell in shell codeMikael Magnusson2020-01-0911-12/+12
| |
| * 45269: Fix misspellings in completions and elsewhere.Jens Schleusener2020-01-0926-43/+43
| |
| * 45261: _gcc: Detect clang-as-gccdana2020-01-081-0/+5
| |
| * github #44: Allow completion for picocom to list symlinks to character devicesDamien Thébault2020-01-071-1/+1
| |
| * 45245: _gcc: add some clang specific warningsEitan Adler2020-01-061-2/+16
| |
| * 45231: _rsync: When completing remote modules, ignore more of the motd.Daniel Shahaf2020-01-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | We cannot use the --no-motd option because it inhibits the modules listing. We cannot look for a blank line because there will not be a blank line if the "motd file" does not end with a newline. Looking for tabs is an improvement. Any tabs in the motd will still cause extraneous matches, but there's nothing we can do about that. While here, show the modules in the order listed.
| * unposted: _tac: Eliminate superfluous variabledana2020-01-051-5/+1
| |
| * 45226: _man: Improve completion of file pathsdana2020-01-051-1/+8
| |
| * 45218: add more options to swaks completionOliver Kiddle2020-01-031-3/+19
| |
| * 45196: fix completion after make -C, allowing for -C being used multiple timesOliver Kiddle2020-01-031-7/+8
| |
| * 45130: _multi_parts: Always pass -f to compadd if given by callerdana2019-12-261-1/+1
| |
* | 45288: _git: Complete bisect/new as well as bisect/bad.Daniel Shahaf2020-01-151-3/+1
|/ | | | Also, complete the bisect/old-$commithash ref names.