1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-18 12:01:00 +01:00
Commit graph

3265 commits

Author SHA1 Message Date
Daniel Shahaf
c7850ac4f6 34042: _git: Respect tags for subcommand completion.
It is now possible to use the tag-order style to stagger the overwhelming
'git <TAB>' subcommand listing.  For example:

    zstyle ':completion::complete:git:argument-1:' tag-order \
        main-porcelain-commands user-commands third-party-commands \
        ancillary-manipulator-commands ancillary-interrogator-commands \
        plumbing-manipulator-commands plumbing-interrogator-commands \
        aliases
2015-01-05 15:57:42 +00:00
Timofey Titovets
6425db14a4 34053: complete additional Linux kernel module compression 2015-01-05 10:21:29 +00:00
Mikael Magnusson
2194da18c7 33963: remove work of art in _mount 2014-12-29 08:34:34 +01:00
Barton E. Schaefer
33b3958064 34068: create tempfiles without forking, and safe temp directory creation 2014-12-28 00:49:08 -08:00
Barton E. Schaefer
200accac63 34067: safe tempfile creation, part 1 2014-12-27 23:59:29 -08:00
Daniel Shahaf
89c692eafb 33977: don't complete widgets as first argument to bindkey 2014-12-21 22:23:06 +01:00
Lokesh Mandvekar
e9a640802d 33999: remove docker completion.
Versions supplied with docker is authoritative, so version in zsh
is just a potential hazard to the unwary.
2014-12-18 19:15:36 +00:00
Mikael Magnusson
409f069a6a users/19530: Handle commented lines in /etc/filesystems 2014-12-14 19:48:03 +01:00
Oliver Kiddle
3b7061e4e4 33958: update sudo completion for newer options 2014-12-13 20:04:02 +01:00
Peter Stephenson
d067ebcacd 33876: etc.: Separate errors and keyboards interrupts
Combination of 12 commits from interrupt_abort branch.

Basic strategy is to introduce bits to errflag and to set and
reset them separately.

Remove interrupt status on return to main keymap.

Turn off ERRFLAG_INT for always block.

Restore bit thereafter: we probably need a new variable in order
to allow user interrupts to be reset in the always block.

Add TRY_BLOCK_INTERRUPT

This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.

Ensure propagation of SIGINT from exited job.

If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.

Reset errflag before precmd()

Add always block in _main_completion to fix ZLS_COLORS

Ensures we get the right state of $ZLS_COLORS at the end of _main_complete
even if there's an interrupt.  However, the "right state" is a bit messy
as it depends on styles.
2014-12-11 09:41:17 +00:00
Mikael Magnusson
247f7548dc Parse "Gentoo" as being GNU libc 2014-12-10 15:20:51 +01:00
Peter Stephenson
53e44daeba 33927: nm completion improvements
Complete .elf files.

Allow directory searches.
2014-12-08 09:53:10 +00:00
Peter Stephenson
a4799145da 33843: minor optimisation for recursive-files.
Expand the recursive path only the first time we need it.
2014-12-08 09:46:30 +00:00
Barton E. Schaefer
09959eb9d6 33912: fix filename default case
version-of-od argument list manipulation clobbered the default spec
2014-12-07 11:20:01 -08:00
Barton E. Schaefer
5e9206061d 33901: fix warning message reference to funcstack (updates 33859) 2014-12-07 11:20:01 -08:00
Daniel Shahaf
908abba891 33883: documentation for (*) glob qualifier 2014-12-07 16:13:39 +00:00
Mikael Magnusson
b9a2a3767c 33882: Complete CXXFLAGS as CFLAGS too 2014-12-06 11:42:23 +01:00
Oliver Kiddle
167a15a920 33861: update lsof completion for new options 2014-12-05 20:16:23 +01:00
Peter Stephenson
02a8a8c7e4 33866: addendum to completion trap fix
We need the multifuncdef option on for the trap function definitions to
work.  It is by default by this wasn't enforced for the completion
functions.
2014-12-05 18:08:18 +00:00
Peter Stephenson
b4a198cdda 33859: Fix traps in completion
We need to use a function-style trap in order for the effect of the
interrupt to propagate back correctly.
2014-12-05 17:06:28 +00:00
Eric Cook
67c39b09c8 33689: make cp --reflink's argument optional 2014-12-03 16:56:23 +01:00
Barton E. Schaefer
baaa57acaf 33804: hide values of large arrays in typeset output
Declare arrays used internally by completion with the -H attribute.
2014-11-27 13:41:13 -08:00
Oliver Kiddle
ee38545c62 users/19365: completer for current directory of other shell processes 2014-11-25 20:03:53 +01:00
Peter Stephenson
9161a16b2e 33729: "git remote add" should complete local repositories 2014-11-23 21:03:37 +00:00
saga
8cd812a1d3 33712: add --auto-remove option 2014-11-21 12:05:22 +01:00
Sebastien Alaiwan
0151ab0749 33728: Complete bzr shelve subcommand 2014-11-21 09:46:54 +00:00
clutton
d6252ce011 33640: look in /boot/modules instead of /modules for third-party modules 2014-11-09 21:59:16 +01:00
Oliver Kiddle
82aa706cbf 33659: use --dump-options to get most of the gpg options to complete 2014-11-09 17:19:37 +01:00
Barton E. Schaefer
63f3030aaa 33648: _gpg completes for gpg2 as well 2014-11-08 12:23:29 -08:00
Barton E. Schaefer
691547cda6 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko in status message for INT/QUIT signals; check errflag in output loops
Two semi-related patches for keyboard interrupt handling in completion,
most importantly so that unexpectedly long completion listings can be
interrupted.
2014-10-29 08:45:57 -07:00
Barton E. Schaefer
e18b5bf0b2 33526: fix completion path prefix handling when NO_CASE_GLOB is in effect 2014-10-24 09:06:32 -07:00
Mikael Magnusson
242b419fbc 33485: fix a missing ;; case terminator 2014-10-24 08:56:31 +02:00
Oliver Kiddle
2ecc4bab41 33486: new completion function 2014-10-21 20:57:01 +02:00
Oliver Kiddle
5e592fd9b0 33485: fixes for zstyle context handling 2014-10-21 20:53:51 +02:00
Oliver Kiddle
af9f623273 33481: resolve completion clashes and tidy-up SUSE/Mandriva related functions 2014-10-21 16:11:09 +02:00
Peter Stephenson
e02ff159b3 see 33475: allow .cpp files to be completed as gcc input 2014-10-17 09:43:32 +01:00
Syohei YOSHIDA
f144cb732f 33455: update GNU global option completion 2014-10-14 23:12:43 +02:00
Oliver Kiddle
13fc579343 33467: correct return status on functions and numerous other minor fixes 2014-10-14 23:04:45 +02:00
Oliver Kiddle
03241e50b0 33438: use the new way of splitting strings with a dynamic separator
from 33423 and quote separators where needed
2014-10-13 11:13:55 +02:00
Oliver Kiddle
98ce8a658e 33424: use common function for completing Debian architectures 2014-10-11 01:28:10 +02:00
Oliver Kiddle
19f038b5fa 33420: complete -R/-m options and fix feature completion 2014-10-10 17:03:59 +02:00
fREW Schmidt
de56e09fcb 33375: new sv completion 2014-10-10 15:50:57 +02:00
Daniel Shahaf
0cb4c23b39 33396: new xxd completion 2014-10-10 15:37:50 +02:00
Yuri D'Elia
df5d69f50f 33397: new xautolock completion 2014-10-10 15:29:06 +02:00
Barton E. Schaefer
22c4ea424c 33403: be conservative about redirecting _call_program stderr, the caller may have already done so 2014-10-09 17:54:47 -07:00
Oliver Kiddle
00a654af5c 33323: fix bug in removing math functions and complete -M option to functions 2014-10-02 19:29:32 +02:00
Barton E. Schaefer
57252dc1e0 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completion
add typtab_flags bits (replaces specialcomma boolean) to record any unusual handling of typtab entries; signal safety; make bangchar non-special during completion lexing of the command line.
2014-10-02 08:39:43 -07:00
Oliver Kiddle
dad5063a7c 33315: fix pattern to match freebsd10 and later 2014-10-02 15:02:33 +02:00
Axel Beckert
3aa5544638 33284: Completion/Unix/Command/_*magick: Add JPEG 2000 file extensions 2014-10-02 02:51:34 +02:00
Wieland Hoffmann
b9ee56e5b7 33252: complete more notmuch subcommands 2014-09-26 14:05:30 +01:00