davey hathorn
013c87e3f3
github #54 : Fix dig completion error
2020-04-21 00:26:59 -05:00
Daniel Shahaf
51091e19cd
45649: completion: Simplify Unison completion. No functional change.
2020-03-29 20:56:20 +00:00
Henri Menke
83f7dc7806
45646: completion: Unison: Honour the $UNISON variable
...
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
2020-03-29 20:17:29 +00:00
Gastón Haro
a6610c4a17
github #46 : _git-restore: Complete arguments to the --source option after a '=' sign
2020-03-28 22:49:41 +00:00
Gastón Haro
f306221674
github #46 : Better restrict git-restore(1) file completions
...
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.
2020-03-28 22:49:41 +00:00
Daniel Shahaf
36df1e4f78
45623: _quilt: Add subcommand descriptions
2020-03-27 01:14:42 +00:00
Daniel Shahaf
174aedcf7f
45622: _quilt: Categorize subcommands
2020-03-27 01:14:42 +00:00
dana
754658aff3
unposted: _git: Fix copy/paste error in earlier commit that broke git stash drop
...
This was broken by workers/44923 (8aa84bd5fc
)
2020-03-13 09:46:14 -05:00
dana
cb7aadfd2a
45535: _lz4: Order compression levels numerically
2020-03-13 09:38:25 -05:00
dana
3f7b81e24e
45531: _sh: Complete options more accurately
...
Committing without handling of +x option variants (line 10) pending resolution
of workers/45422
2020-03-13 09:37:37 -05:00
dana
359e0dae2b
45424: completion: Add **/sbin to PATH when completing commands like sudo
...
* 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
2020-03-11 16:26:41 -05:00
Daniel Shahaf
6fc8e8628f
Merge remote-tracking branch 'origin/master' into 5.9
...
* 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
2020-03-07 21:36:46 +00:00
dana
dd523255cc
45423: _su: Improve arg handling, shell look-ups
...
Differences from ML post:
* Properly fix escaping issue with $usr (needs unescaped first)
* Make $shell emptiness check easier to read (per feedback)
2020-02-14 09:42:12 -06:00
dana
8037462895
unposted: _zip: Recognise '--'
2020-02-07 14:05:48 -06:00
Martin von Wittich
1f238665f6
_diff_options: Restore -w completion lost in workers/43351
2020-02-06 13:24:00 -06:00
WGH
e71ba9704f
45365: _git: Fix __git_recent_branches for the case when a commit has an empty message
2020-02-02 07:32:14 +00:00
Eitan Adler
e626f57613
45332: _git: add completion for git-version
...
Signed-off-by: Eitan Adler <lists@eitanadler.com>
2020-01-19 23:32:37 +00:00
Daniel Shahaf
bcd78756c8
45313: _git: Support completion from outside of a worktree when --git-dir/--work-tree are specified on the command line
...
Revised version of workers/41523.
2020-01-17 21:52:45 +00:00
Daniel Shahaf
e899c21863
Merge remote-tracking branch 'origin/master' into 5.9
...
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 da085b7a20
(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.
2020-01-15 22:49:09 +00:00
Daniel Shahaf
22c0fe02a5
45288: _git: Complete bisect/new as well as bisect/bad.
...
Also, complete the bisect/old-$commithash ref names.
2020-01-15 22:41:25 +00:00
Oliver Kiddle
06a9af4f59
unposted: additional typo fix
2020-01-11 17:41:14 +01:00
Eitan Adler
5482d65d5c
45280: _git: add -local variants
...
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
2020-01-11 17:37:44 +01:00
Daniel Shahaf
742ab1283b
unposted: Two additional typo fixes.
2020-01-09 13:59:05 +00:00
Mikael Magnusson
66caa81ab7
Fix typos reported by codespell in shell code
2020-01-09 14:51:08 +01:00
Jens Schleusener
11dbe4c286
45269: Fix misspellings in completions and elsewhere.
2020-01-09 13:42:02 +00:00
dana
4858e868dc
45261: _gcc: Detect clang-as-gcc
2020-01-08 17:54:46 -06:00
Damien Thébault
58ff4adbb0
github #44 : Allow completion for picocom to list symlinks to character devices
2020-01-07 14:55:46 +00:00
Eitan Adler
8500403b66
45245: _gcc: add some clang specific warnings
2020-01-06 22:01:09 -06:00
Daniel Shahaf
7542732df6
45231: _rsync: When completing remote modules, ignore more of the motd.
...
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.
2020-01-06 02:28:54 +00:00
dana
3ff0b189a0
unposted: _tac: Eliminate superfluous variable
2020-01-05 14:51:04 -06:00
dana
0d3a62d931
45226: _man: Improve completion of file paths
2020-01-05 12:13:01 -06:00
Oliver Kiddle
6170cd0c17
45218: add more options to swaks completion
2020-01-03 23:02:52 +01:00
Oliver Kiddle
e6c5482dd8
45196: fix completion after make -C, allowing for -C being used multiple times
2020-01-03 23:01:00 +01:00
Daniel Shahaf
3834c423ab
unposted: _stdbuf: Fix mismatch between the long options on the one hand, and the short options and descriptions on the other hand.
2019-12-23 08:25:48 +00:00
Aurélien Olivier
2fd17cae1c
github #36 : Add completion file for GNU Stow
2019-12-16 12:07:33 +01:00
Daniel Shahaf
06dddd0b98
Revert "44904: _subversion: Complete multiple comma-separated arguments to --show-item=<TAB>."
...
This reverts commit b06117ad21
.
Reverted upstream in r1870750.
2019-12-03 12:27:13 +00:00
Oliver Kiddle
a833fe4a18
unposted: another place to complete selinux contexts that was missed in 44781
2019-12-01 22:59:36 +01:00
Oliver Kiddle
6a3e418fb6
44968: cleanup and update objdump and readelf completions
2019-12-01 22:49:47 +01:00
Daniel Shahaf
4bb8c937d8
unposted: _sqlite: Fix syntax error
2019-12-01 00:02:30 +00:00
Daniel Shahaf
dae3e135d8
44948: _subversion: Make _svn_controlled offer everything rather than nothing.
2019-11-29 20:34:34 +00:00
Daniel Shahaf
a4f5c345c8
44947: _subversion: Complete the 'auth', 'changelist', 'patch', 'resolve', and 'x-unshelve' subcommands.
2019-11-29 20:34:32 +00:00
Daniel Shahaf
a6b6b650fb
44946: _subversion: Make _svn_conflicts not offer all files in the directory.
2019-11-29 20:34:30 +00:00
Oliver Kiddle
8aa84bd5fc
44923: update options for git 2.24
2019-11-24 22:58:38 +01:00
Oliver Kiddle
5df672b9d7
44896: use opt_args to find base directory and use it for $(CURDIR)
2019-11-24 22:56:21 +01:00
skirit
a8b0d399e5
unposted (salsa.debian.org MR!1): _ip: Complete the -brief option
2019-11-11 16:00:16 +00:00
Daniel Shahaf
b06117ad21
44904: _subversion: Complete multiple comma-separated arguments to --show-item=<TAB>.
...
Upstream revision: r1869578 (for 1.14.0)
2019-11-09 12:39:48 +00:00
Daniel Shahaf
ed26bf92d6
44897: _subversion: Complete --show-item=changelist
2019-11-07 12:04:27 +00:00
Eitan Adler
0a296d15ac
44882: add completion of -save-stats flag
2019-11-06 21:26:47 +01:00
Sebastian Gniazdowski
2c94b597bd
github #41 : Extend _dbus with dbus-launch completion
2019-10-29 15:59:02 +01:00
Oliver Kiddle
248ae0b77e
unposted: tweak to check for openzfs rather than Solaris
2019-10-29 15:55:25 +01:00
Teddy Heinen
5cf1d6dfd1
github #40 : Teddy Heinen: adjust zfs completion to use acltype on linux instead of aclmode
2019-10-28 23:15:37 +01:00
dana
9b69e84729
44846: _dates: Fix regression caused by workers/44274
2019-10-18 18:47:21 -05:00
Oliver Kiddle
308295d4d2
c.f. 44831: remove completion functions for long dead projects
2019-10-18 22:57:24 +02:00
Oliver Kiddle
ea78d0d4ae
c.f. 44831: remove completion functions included in upstream projects
2019-10-18 22:52:32 +02:00
Oliver Kiddle
a891557b49
44849: completion updates for changes in OpenBSD 6.6
2019-10-18 22:47:32 +02:00
Daniel Shahaf
1156b2aa44
44812: _subversion: Fix syntax error in 44726/0001
2019-10-14 01:24:51 +00:00
dana
b79b779166
44681 (tweaked): _composer: Eliminate questionable eval, fix quoting issue
2019-10-12 02:02:15 -05:00
Daniel Shahaf
dca638e301
44797: _git-config: Complete unknown options from 'git help -c'.
2019-10-02 17:11:11 +00:00
Oliver Kiddle
0cc98dfe05
44800: complete tmux formats
2019-10-01 23:15:21 +02:00
Oliver Kiddle
d89fad7b4f
44799: new pv completion
2019-10-01 23:13:22 +02:00
Oliver Kiddle
7d2d242b30
44798: completion option update
2019-10-01 23:10:17 +02:00
Oliver Kiddle
934fc7d116
44783, 44791: mark some repeatable options with * in the _arguments specs
2019-09-30 23:20:24 +02:00
Oliver Kiddle
095a012152
44782: new completions for avahi and pkgin
2019-09-27 01:48:17 +02:00
Gautam Iyer
3c761b5f23
gitlab !9 : Rudimentary seafile client completion
2019-09-27 00:44:10 +02:00
Doron Behar
6711985b4b
gitlab !11 : luarocks: Fix/improve logic of cache validation
...
Also: Remove unnecessary quoting of helper function calls.
2019-09-27 00:34:30 +02:00
Oliver Kiddle
4f48ce208b
44781: add completion of SELinux contexts
2019-09-27 00:27:45 +02:00
Oliver Kiddle
81be5d1dce
44780: add completion to getent for the utmpx key on FreeBSD
2019-09-27 00:23:50 +02:00
Oliver Kiddle
0ff02590c3
44779: completion for new git switch and git restore commands
2019-09-27 00:16:54 +02:00
Jun-ichi Takimoto
39e39910eb
44768: _tar: improve completion of long options
2019-09-20 12:41:54 +09:00
Tobias Schulte
bed4e91681
github #38 : fix completion text for git update-index --chmod
2019-09-18 16:29:47 +00:00
Daniel Hahler
597acaab4f
44722: _make: use --always-make instead of .PHONY for GNU make
...
Using ".PHONY" might actually execute (phony) targets then, while
"--always-make" triggers processing of all targets, respecting `-n`
(`--dry-run`).
(This can be seen with `make -nsp .PHONY` in
https://github.com/neomake/neomake/tree/76b110d49a , where it actually
causes infinite processing then)
".PHONY" was used since the beginning here (37012f06a
[1]).
As for bmake (which also uses `.PHONY`): there does not appear to be a
similar option for it.
While it might work better there (i.e. not causing targets to be run),
it causes an error at least when testing it quickly - which indicates
that it behaves as if using any other non-existing (or special) target
there maybe:
> bmake: don't know how to make .PHONY. Stop
This was added in ecc0a5ece
[2] (workers-39654).
Since it uses `-s -f "$file" -V.ALLTARGETS` with `bmake` before to get
targets explicitly, there might not be a reason for calling `bmake` with
`-nsdg1Fstdout … .PHONY` additionally in the first place?!
1: https://github.com/danielshahaf/zsh/commit/37012f06a
2: https://github.com/danielshahaf/zsh/commit/ecc0a5ece
2019-09-06 08:47:55 +02:00
Daniel Shahaf
2829e32e3c
44726/0002: _subversion: Update --show-item= completion to 1.12.0.
2019-09-04 02:56:54 +00:00
Daniel Shahaf
770dca2c53
44726/0001: _subversion: Use 'svn help -v' to show global options, experimental options, and experimental subcommands (upstream issue SVN-4828, to be released in Subversion 1.13.0)
2019-09-04 02:56:54 +00:00
Lajos Koszti
5ff3529caf
44633: complete ansible-vault actions like create, edit, etc.
2019-08-19 16:25:54 +02:00
Oliver Kiddle
359a8fce00
44587: completion option updates
2019-08-19 16:15:49 +02:00
dana
c6254f2a93
44675: _find: Fix return status
2019-08-17 16:30:34 -05:00
Eric Cook
5fd80faf98
24102: _user_admin subuids and subgids
2019-07-30 09:54:18 +01:00
Oliver Kiddle
a4f3df89ab
44356: complete ansible callback plugins for the relevant environment variable's value
2019-07-19 01:44:20 +02:00
Oliver Kiddle
4b5b1563a8
44551: update for new git changes
2019-07-19 01:42:26 +02:00
Jun-ichi Takimoto
1d37624ad6
44389: update _iostat and _vmstat for BSD
...
common parts are separated into _bsd_disks and _fbsd_device_types
2019-06-03 22:33:10 +09:00
Oliver Kiddle
6a0874cad6
44349: completion option updates
2019-05-23 01:19:02 +02:00
Oliver Kiddle
09c6acf7b2
44279: completion updates for Dragonfly 5.4, FreeBSD 12 and OpenBSD 6.5
2019-05-09 00:17:04 +02:00
Oliver Kiddle
cd6fd2b0a3
44274: allow finer control of completion match soring with compadd's -o option
2019-05-07 23:24:49 +02:00
Gautam Iyer
5200637bda
gitlab !6 : Rudimentary rclone completion
2019-05-07 22:03:14 +02:00
Gautam Iyer
f7850406c9
gitlab !7 : Minor fixes to _lp and _gv completion
2019-05-07 00:06:39 +02:00
Doron Behar
6bf8c4720d
gitlab !8 : Support completion of installed lua rocks' versions
2019-05-06 23:48:00 +02:00
Doron Behar
cecaad96cb
gitlab !4 : Add pandoc completion
2019-05-06 23:39:10 +02:00
Doron Behar
2f420b8de3
gitlab !3 : Transmission remote completion
2019-05-06 23:31:18 +02:00
Aurélien Olivier
3908987b4a
github #33 : Add completion file for myrepos (mr)
2019-05-06 17:03:59 +02:00
Laurent Arnoud
191e05b108
github #35 : fix _arguments spec for gem push completion
2019-05-06 16:46:13 +02:00
dana
8ce9e20c49
44251: Completion: Fix various wording issues
2019-04-26 17:50:00 -05:00
dana
860bcdd561
44250: Completion: Fix use of -A and -S options to _arguments
2019-04-26 17:48:30 -05:00
dana
d56a43f802
44249: Completion: Handle zsh/files built-ins in _mv and _rmdir
2019-04-26 17:45:35 -05:00
dana
9208e321da
44234: _ssh: Update for OpenSSH 8.0
2019-04-26 17:43:19 -05:00
Matthew Martin
a4f4497207
44242: Completion: Use _pick_variant -b to detect builtins
2019-04-22 22:04:24 -05:00
dana
c749a06bc9
44158: Completion: Add _postgresql
...
Adjusted to fix minor copy/paste error in __pgsql_cfg_params
2019-04-01 14:44:42 -05:00
dana
fa92c6a1af
unposted: _chmod: Adjust _guard pattern
...
Per off-list feedback from Daniel, use a more context-specific pattern
2019-03-24 23:52:22 -05:00
dana
dc2d8d9c26
unposted: _chmod: Use _guard for mode operand
2019-03-22 17:22:23 -05:00
Matthew Martin
9b267ff1eb
44149: _mkdir, _stat: Use _pick_variant -b
2019-03-21 22:04:55 -05:00
Jun-ichi Takimoto
3e542bcd81
44147: add/update completions for procps-ng
...
New completions for free, pmap, slabtop, tload. Update _top.
2019-03-22 09:23:42 +09:00
dana
3e67e8347c
44111: _git: Use git rev-list
for log messages
...
This side-steps issues related to `git log` respecting settings like
log.showSignature
2019-03-21 17:02:16 -05:00
Matthew Martin
6331772c5b
44135: Add chmod builtin
2019-03-18 22:17:54 -05:00
Matthew Martin
2f670be951
44135: _chmod: Reformat to minimize next diff. No functional change.
2019-03-17 19:33:11 -05:00
Jun-ichi Takimoto
36290f3e8e
44101: _vim: better support for nvim
2019-03-08 17:09:26 +09:00
dana
3efacdbacf
44087: _getconf: Complete options, config variables on more systems
2019-02-27 19:31:55 -06:00
dana
d669a9a045
44090 (re: 44085): _remote_files: Don't set QUOTING_STYLE
...
The syntax was incompatible with some shells, and it's probably not a big
enough concern to work around it
2019-02-27 19:27:59 -06:00
dana
c01f10db5e
44085: _remote_files: Prevent ls/alias settings from mangling file listings
2019-02-26 14:31:00 -06:00
dana
29222ca186
44080: Completion: Fix several option-description typos
2019-02-26 01:21:29 -06:00
dana
2331785afb
unposted: _less: Fix typo
...
Reported here: https://www.reddit.com/r/zsh/comments/au98zv/_/
2019-02-24 14:37:34 -06:00
dana
d4f9899739
44077: completion: Fix GNU _pick_variant patterns, partially fix getent -s
2019-02-22 13:20:16 -06:00
dana
7930905f0c
44076: _column: Support Debian, add missing options, adjust wording
...
Tweaked per off-list discussion with Daniel: We agreed that it would be
best to side-step the wording disagreement between the BSD and
util-linux implementations by using our own description for -x, which
was borrowed from the one for `print -ca`
2019-02-22 13:14:16 -06:00
Doron Behar
109975b1b5
gitlab !5 : Add new abcde completion.
2019-02-09 10:08:20 +01:00
Hiroki Noda
a8c9daf7f1
github #31 : Add new demangle style, rust and dlang
2019-02-09 10:08:03 +01:00
dana
0220822d82
44034: _date_formats: Complete %9./%N, adjust wording
2019-02-03 13:20:32 -06:00
dana
7b97d4f749
44033: Add completion for dos2unix/unix2dos
2019-02-03 11:58:42 -06:00
Fredric Silberberg
4f6ac08af3
github #32 : Fix a typo in the git tag completion.
2019-01-28 00:48:23 +00:00
Peter Stephenson
88ad890c05
users/23829: add and coument file-split-chars style
2019-01-08 14:19:19 +00:00
dana
35c7b0f9e9
43974: _git: Always offer -F/-m for git tag
2019-01-04 15:12:31 -06:00
dana
1f8bea2247
43959: Add completion for strongSwan, &al.
...
Also update _urls to complete unix:// URIs as for file://
2019-01-01 06:49:08 -06:00
dana
9dde124818
43914 (tweaked): Add completion for Composer
...
Tweaks: Adjusted spelling, fixed minor idiomatic issues
2018-12-30 09:54:54 -06:00
dana
43247252dd
43897: Add/update various completion functions
...
* Update tail to support -q/-v on NetBSD
* Add several new functions (with one change needed to _hosts compdefs)
2018-12-17 14:49:33 -06:00
dana
f8864ac0c8
43895: _watch: Complete for procps/-ng watch
2018-12-17 14:45:14 -06:00
dana
e64bd2ad4c
unposted: _dig: Fix _arguments syntax error
2018-12-14 17:44:05 -06:00
dana
90b2654b7e
43871: _files: Support -F '(pat ...)'
as with _path_files
2018-12-09 14:54:37 -06:00
Peter Stephenson
42020cdabb
43861: make "(#" completion safer by checking for ")"
2018-12-04 17:19:45 +00:00
Peter Stephenson
7f62255b49
43860: Complete glob flags at start of word.
2018-12-04 16:57:05 +00:00
Jun-ichi Takimoto
35afea0772
unposted: _zcat: support macOS
2018-11-15 21:02:22 +09:00
dana
e25f890589
43809: Suppress npm update checks during completion
2018-11-13 13:06:29 -06:00
Oliver Kiddle
0b3b52778b
43819: expand adb completion to also cover options to adb backup
2018-11-12 11:09:55 +01:00
Oliver Kiddle
d5fec6b512
43816: various completion option updates
2018-11-12 10:32:41 +01:00
Oliver Kiddle
8d2622ecba
43812: allow repeats of gcc's -Wsuggest-attribute option
2018-11-12 10:32:15 +01:00
Jun-ichi Takimoto
e5465c0434
43761: update five completion functions for darwin
2018-11-07 21:01:54 +09:00
Oliver Kiddle
58bfa1665b
43748: fix completion for ack 3beta
2018-11-02 01:09:47 +01:00
Wieland Hoffmann
11c84dcef4
github #29 : Add completion support for Gits --color-moved option and color settings
...
--color-moved was added in Git 2.15.
2018-11-02 00:45:35 +01:00
Jun-ichi Takimoto
ce048aee38
43746: _ping: update for BSD and Darwin
2018-10-31 19:24:45 +09:00
Jun-ichi Takimoto
967c964e21
43744: _sysctl: support procps-ng, NetBSD
...
with several updates for other OS
2018-10-31 19:17:59 +09:00
Jun-ichi Takimoto
a4e435b873
43723: _mkdir: fix builtin mkdir and support darwin
2018-10-24 17:36:15 +09:00
Jun-ichi Takimoto
4ad04eeb85
43722: _ed, _env, _sort: support darwin
...
use the same completions as freebsd
2018-10-24 17:32:17 +09:00
Jun-ichi Takimoto
916ed74264
43721: _diff3: detect GNU variant correctly
2018-10-24 17:29:28 +09:00
dana
da05d2cc2b
43718: Use singular completion group descriptions
2018-10-24 00:41:58 -05:00
Marcin Mielniczuk
f413e5e17f
43714: complete lp fit-to-page option
2018-10-23 09:59:10 +01:00
dana
07d06c9fb9
43713: Improve init.d command completion
2018-10-22 15:56:28 -05:00
Oliver Kiddle
8c57505314
43698: update options for git 2.19.1
2018-10-17 17:56:36 +02:00
Takeshi Banse
67ce7c2bf8
users/23642: Revert _files change from workers/42984
...
See also users/23635
2018-09-24 19:06:21 -05:00
Noam Barnea
14fa595f66
gitlab !2 : _toilet: detect .flf files as well as .tlf ones
2018-09-23 18:04:37 +02:00
Daniel Shahaf
decc78c721
_svn: Allow hyphens in command name aliases.
...
Used by svn 1.11.0-rc1.
2018-09-14 14:25:07 +00:00
Daniel Shahaf
24bb465566
unposted: _svn: Complete --accept=recommended, new in 1.10.0.
2018-09-12 16:23:43 +00:00
Daniel Shahaf
b44be21525
43443: _git: When completing worktrees, show the ref and hash of each worktree.
2018-09-12 15:12:09 +00:00
Daniel Shahaf
7ae2be3a2f
43442: _git: Break out a helper function.
2018-09-12 15:12:07 +00:00
Oliver Kiddle
410c30a25b
unposted: git describe's --long and --abbrev options are not mutually exclusive
2018-08-31 23:17:28 +02:00
Oliver Kiddle
36ac12d0b6
43359: further review of git remote set-url completion
2018-08-31 23:10:36 +02:00
pseyfert
e754b18ca7
42810: git remote set-url completion
2018-08-31 22:58:52 +02:00
Jun-ichi Takimoto
7d905fd4fe
43350: _zsh: support --emulate
2018-08-30 00:58:29 +09:00
Oliver Kiddle
b8df07ad06
43351: handle the new diff implementation in the pre-release version of FreeBSD 12
2018-08-29 17:34:43 +02:00
Oliver Kiddle
245503929e
43346: various completion option updates
2018-08-29 17:32:10 +02:00
Anton Shestakov
fcb4f79567
43348: _hg: check for both -r and --rev
2018-08-29 17:27:31 +02:00
Anton Shestakov
06f3bc09c0
43347: _hg: use revsets for suggestions for hg merge
2018-08-29 17:23:04 +02:00
Oliver Kiddle
419625bf87
43345: don't modify global variable in _umountable
2018-08-28 17:41:29 +02:00
Oliver Kiddle
ab8a1a5824
unposted: completion for argument to strings -s was missing
2018-08-28 17:35:43 +02:00
Oliver Kiddle
9303073a58
unposted: complete also for bsdtar
2018-08-28 17:33:33 +02:00
Daniel Shahaf
1c5fb91e71
43331: _diff3: Enhance positional argument descriptions (thanks, Oliver).
2018-08-25 15:54:35 +00:00
Oliver Kiddle
f7deb49513
43329: new diff3 completion
2018-08-24 08:04:12 +02:00
dana
7bf4f03eb3
unposted: Fix --ascii typo in _man
2018-08-23 18:14:02 -05:00
Anton Shestakov
0e3508f476
43325: _hg: suggest merge tools for -t/--tool
2018-08-23 01:39:43 +02:00
Anton Shestakov
d25c6d59e9
43326: _hg: add completion of -S/--subrepos to many commands
2018-08-23 01:34:24 +02:00
Oliver Kiddle
01bc3c124a
43301: add some functions from zsh-completions project
2018-08-23 01:19:54 +02:00
dana
9567bfe061
43302: Fix _du -B spec
2018-08-15 16:15:24 -05:00
Daniel Shahaf
8178698bb2
unposted: _make: Allow pasted arguments for GNU make's -j option.
2018-08-13 11:17:21 +00:00
Marc Cornellà
99fd8c0fe9
unposted (PR #26 ): __git_files: fix double quotation of star
...
This fixes the double quote introduced by aa160fc8
, so that the end result of
the parameter expansion is $pref followed by \* (a quoted star), meaning
`git ls-files` gets a literal star, not an expanded list of matching files, as
was intended in commit cc7437bf
.
Fixes completion of `git add ../<TAB>`.
2018-08-12 19:37:47 +00:00
Anton Shestakov
bf8b611820
43254: remove hg -w completion, add hg -S
2018-08-07 09:19:24 +01:00
Anton Shestakov
ac9dfc9e93
43252: fix various hg options for completion
2018-08-07 09:17:09 +01:00
Anton Shestakov
ea4cc2e985
43250: add hg forget, phase, summary completion
2018-08-07 09:14:47 +01:00
Anton Shestakov
ea33441f45
43251: fix some return values of _hg functions
2018-08-07 09:12:04 +01:00
Anton Shestakov
262796ec2e
43253: hg --style deprecated in favour of --template
2018-08-07 09:10:04 +01:00
dana
96ea5e32b4
43207: Improve _bind_addresses, _php
...
Minor change from the patch as posted to the ML: _php now calls _bind_addresses
with -K, since it can't actually listen on a link-local address.
2018-07-31 20:46:09 -05:00
dana
79153bec16
43203: Add completion for lua
2018-07-25 12:10:11 -05:00
dana
627c91357c
43196: Add completion for nginx
2018-07-20 11:15:32 -05:00
Jun-ichi Takimoto
e558f23131
43192: _pgrep: simplify completions of list of IDs
2018-07-20 18:40:05 +09:00
dana
3ec9503f49
43186: Add completion for cronie/dcron/Vixie crontab
...
Minor change from the patch as posted to the ML: BusyBox variant detection has
been expanded to cover dcron (which BusyBox's crontab is forked from).
2018-07-19 21:17:30 -05:00
Jun-ichi Takimoto
218a7e324d
43183: fix '_ttys -o' and use it in _gdb/_pgrep
2018-07-19 17:26:11 +09:00
Jun-ichi Takimoto
71bc1296ed
43189: _install: similar fix as 43187 for option -f
2018-07-19 17:04:09 +09:00
Yasuhiro KIMURA
2a8ecbd2d3
43187: Fix completion error about 'm' option of 'install' command
2018-07-19 04:58:01 +00:00
Jun-ichi Takimoto
6ae241c43a
43182: _lldb: complete process name after option -n
2018-07-18 17:13:11 +09:00
Doron Behar
50e272d301
43166: new zathura completion
2018-07-17 21:48:24 +01:00
Jun-ichi Takimoto
73a3ad345c
43177: _grep: support bzgrep, and add a few options for macOS
2018-07-18 00:38:10 +09:00
Jun-ichi Takimoto
5f2d265b3a
43164: _gcc: fix 'args=' to 'args+=', and update a few options
2018-07-11 22:34:03 +09:00
Jun-ichi Takimoto
7facf96950
43155: _gcc: escape ':' in action for -std
2018-07-11 00:10:24 +09:00
Matthew Martin
33ec368172
43046: Add mupdf completer
2018-07-07 14:51:20 -05:00
dana
6fe0c24fdb
43105: Improve pgrep/pkill completion
...
Contains minor changes to signal completion compared to the patch as originally
posted
2018-07-03 20:04:59 -05:00
dana
2c243e45c7
43134: don't complete SIG in front of numeric signals
2018-07-03 10:32:02 +01:00
Jun-ichi Takimoto
6ac79449d6
43108, 43121: _killall: complete various options
2018-07-02 17:41:39 +09:00
Doron Behar
e96e45ba98
43059: _gpg: Use explicit UIDs for state = public keys.
...
Use the `--with-colons` option and parse the output according to the
format specified in the documentation.
2018-07-01 16:27:08 +00:00
Jun-ichi Takimoto
bad4729281
43107: add an option to _ttys to complete only open ttys
...
Use the option in _ps and _watch-snoop
2018-07-01 22:41:15 +09:00
Peter Stephenson
d4022e76c1
23519: Use tag remote-files for remote files
2018-06-29 09:48:44 +01:00
Daniel Hahler
3964c63d02
42746: _vim: handle special values for -u/-U
...
This is based on state=verbosity from the same file.
2018-06-27 15:38:59 +02:00
Eric Cook
968cf17b2b
43096: _vim: remove duplicate flag
2018-06-27 02:57:27 -04:00
Jun-ichi Takimoto
3c57f71668
43080: _sys_calls: analyze recent syscall.h properly
2018-06-25 11:12:24 +09:00
Jun-ichi Takimoto
a0233a74e3
43079, 43086: new utility to complete names of running processes
...
And new completions for dtruss, fs_usage and sc_usage.
2018-06-25 11:09:14 +09:00
Eitan Adler
03b2cd1bb0
43074: Completion for additional linker options for clang and sanitizers for gcc
2018-06-21 15:01:28 +02:00
Oliver Kiddle
c919fa7f69
43078: add completion for the sed expression
2018-06-21 14:57:39 +02:00
Oliver Kiddle
afd008d96b
43073: various completion option updates
2018-06-21 13:28:24 +02:00
dana
7caec474de
43061: Improve open (macOS) completion
2018-06-20 00:26:41 -05:00
dana
05e4ee0587
43060: Expand stat completion
2018-06-20 00:25:31 -05:00
dana
8dd8bd43e6
43047: Add completion for hostname
2018-06-18 17:54:22 -05:00
dana
ea94f3bf14
43047: Make _bind_addresses always return local IPs
2018-06-18 17:52:36 -05:00
Tim Smith
25e9590e09
43006: complete modified files after git stash --
2018-06-18 09:23:27 +02:00
Oliver Kiddle
4dddf3aa6e
users/23484: be consistent on matcher specs for git branches to fix issue with partial matching
2018-06-18 09:19:26 +02:00
Eitan Adler
810b5c8ab9
43048: add sanitizers, standards aliases and fix -flto
2018-06-18 08:45:09 +02:00
dana
ed2f4d6840
43043: Improve comm/sed completion
2018-06-17 20:38:15 -05:00
dana
0cac4b63e0
43024: Improve _man section-name matching
2018-06-15 22:03:30 -05:00
Matthew Martin
d5360e324c
42981: Add ed completer
2018-06-15 14:15:56 -05:00
dana
d1eb0f4ed1
42992: Fix minor escaping bug in _bash
2018-06-13 18:59:05 -05:00
dana
684db0f9fe
42983: Address misc. feedback re: _man
2018-06-11 16:52:38 -05:00
dana
6b4e78dce6
42984: Fix argument pass-through to compadd
2018-06-11 12:22:42 -05:00
dana
c89d9cc820
42977: Complete options to major man variants, otherwise improve especially section matching
2018-06-10 22:13:48 +02:00
Eitan Adler
0a4eb2d85d
42968: add "-c" for _shutdown completion on FreeBSD 12-current
2018-06-09 21:26:44 +02:00
dana
b5b3dde0a0
42965: add full completion for bash and update shell list in _sh
2018-06-09 11:06:55 +02:00
dana
e60620bc2f
42918: fix file completion for jq
2018-06-09 10:05:07 +02:00
dana
9767ee8849
42918: adapt detection of GNU variant of ldd to work on Ubuntu
2018-06-09 10:00:50 +02:00
Doron Behar
880098352c
42947: new luarocks completion
2018-06-07 23:18:34 +02:00
dana
64ef1eddfd
42931: completion for several utilities especially for checksums across a variety of systems
2018-06-07 18:19:55 +02:00
Eitan Adler
f16c690bea
42935: FreeBSD does not support -v for arp
2018-06-07 17:42:50 +02:00
Oliver Kiddle
09b6959aa5
43943: update samba completion with long options
2018-06-07 17:30:57 +02:00
dana
32ac8c5bcb
42919: new shuf and uptime completions
2018-06-04 00:19:02 +02:00
dana
3585c28c36
42922: new tac completion
2018-06-04 00:12:41 +02:00
Oliver Kiddle
47f34eff93
42881: update options in ghostscript completion and query more matches directly from it
2018-06-04 00:07:23 +02:00
Oliver Kiddle
5e2d3d1e15
42806: fix shutdown completion where options were lost due to args= assignment where args+= was needed
2018-05-19 11:10:46 +02:00
Oliver Kiddle
25f6f5eebe
42803: handle Linux and the the BSDs in netstat completion
2018-05-19 11:06:52 +02:00
Peter Stephenson
fa441fa20e
42752: enhance git external alias completion
...
If alias expands to !cmd-name, complete as a normal command
line after cmd-name.
2018-05-08 17:13:12 +01:00
Eitan Adler
2d8574ef7d
42732: Add several more entries to ifconfig
2018-05-02 09:09:09 +02:00
Oliver Kiddle
64b60f6926
42743: update vorbis-tools completion and include vorbiscomment with the rest
2018-05-02 08:59:23 +02:00
Matthew Martin
11dbc95962
42730: Complete the options for rmdir
2018-04-29 23:54:40 +02:00
Matthew Martin
17af784c5d
42729: update df completion for [DFNO]BSD
2018-04-29 23:49:49 +02:00
Oliver Kiddle
ad9b140213
42676: deal with system specific arguments in dd completion
2018-04-29 23:32:10 +02:00
Oliver Kiddle
563a8d2853
42728: update options in libtiff tools completion and add handling for tiff2pdf
2018-04-29 23:29:40 +02:00
Oliver Kiddle
39f58eb318
42659: various completion option updates
2018-04-16 17:02:56 +02:00
Oliver Kiddle
b69a341619
42658: allow compact form of option arguments to diffstat
2018-04-16 16:53:47 +02:00
Matthew Martin
637f9809a7
42642 (tweaked for Solaris): OpenBSD chown does not support -f and dragonfly has -x
2018-04-16 16:39:21 +02:00
Daniel Hahler
5bd659352f
42631: _pgrep: pkill: fix completion of signals
...
This adds the signals after arguments are filtered according to
$optchars.
2018-04-13 11:44:37 +02:00
Oliver Kiddle
5bd63f4d69
c.f. 42499: tera torn: update twisted completion stub for new twist command
2018-04-08 10:51:35 +02:00
Mikael Magnusson
583419839f
42602: Update _gcc as of GCC 7.3.0 for generic options and x86
2018-04-07 14:08:26 +02:00
Jun-ichi Takimoto
4b13cda37b
42590: fix detection of OSTYPE in _fmt
2018-04-05 20:31:28 +09:00
Jun-ichi Takimoto
5dc36c40c3
42585: improve completion for libarchive-based tar
...
Offer all compressed archives if no compression flag is specified
because libarchive can automaticaly recoginize them.
cf. 42574 (Eitan Adler).
2018-04-05 20:27:39 +09:00
Oliver Kiddle
9004b59115
42584: complete options for ssh-keyscan and update options for ssh-copy-id
2018-04-05 11:32:57 +02:00
Oliver Kiddle
10fcc7eaaf
42583: new column completion
2018-04-05 11:30:10 +02:00
Oliver Kiddle
d4c19184fe
42582: updates to options in completions for OpenBSD 6.3
2018-04-05 11:29:07 +02:00
Jun-ichi Takimoto
35734810d1
42578: _shutdown: add support for macOS
2018-04-05 10:34:12 +09:00
Jun-ichi Takimoto
e9a76d3924
42577: fix macOS support in _strings
2018-04-05 10:27:45 +09:00
Oliver Kiddle
1bd2ecc17d
42572: various completion option updates
2018-03-31 10:12:59 +02:00
Oliver Kiddle
486297520f
42568: new shutdown completion
2018-03-30 16:23:59 +02:00