1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-01 07:31:20 +02:00
Commit graph

2109 commits

Author SHA1 Message Date
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
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
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
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
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
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