1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00
Commit graph

9475 commits

Author SHA1 Message Date
Barton E. Schaefer
e3884c60ed 38866: update add-zle-hook-widget doc for 38850, bug fixes
Edge case handling, wrap in anonymous function for kshautoload management.
2016-07-17 12:04:48 -07:00
Daniel Shahaf
18d676ff19 users/21752: Extend zsh/zleparameter's $widgets' parameter's documentation. 2016-07-17 14:58:05 +00:00
Daniel Shahaf
db9f0d3b3e unposted (cf. users/21737):: _git-subtree: Record technical debt in comment. 2016-07-17 14:55:35 +00:00
Daniel Shahaf
d09cb7e979 users/21750 (after users/21551): _git-subtree: Tweak -m,-P completions 2016-07-17 14:53:12 +00:00
Oliver Kiddle
9991707b6b 38868: update completions for new options on FreeBSD 2016-07-17 12:37:29 +02:00
Oliver Kiddle
52f46cca75 38867: update strace completion
Also factor out completion for system calls and new functions for
truss and ltrace.
2016-07-17 12:32:02 +02:00
Marko Myllynen
ccb45b3201 38837 (tweaked c.f. 38826): new virsh completion 2016-07-17 12:24:08 +02:00
Oliver Kiddle
c32bb6a11c 38845: reset region_active before entering zle
It was done on exit but before zle-line-finish.
Also reword documentation on region to better cover vi mode.
2016-07-17 12:09:24 +02:00
Barton E. Schaefer
3e61af3ff4 38850: Simplify indexing scheme to store hooks in the order they are added
Also, better handling of edge cases and of autoloading/sourcing file
2016-07-13 22:14:54 -07:00
Eric Cook
ac813cfade 38833: separate iostat completion from _sysstat 2016-07-13 21:07:12 -04:00
Oliver Kiddle
304aa25184 38812: a few new completions and update some command options 2016-07-08 23:10:41 +02:00
Oliver Kiddle
13f4bb2936 38810: fix cursor positioning and repeated invocations when widgets used from emacs mode 2016-07-08 23:00:44 +02:00
Oliver Kiddle
e87aa8941f 38809: fix tracking of colour attributes and restore them when turning bold off 2016-07-08 22:28:15 +02:00
Oliver Kiddle
fc286168ed unposted: fix duplicated words 2016-07-08 22:21:42 +02:00
Peter Stephenson
c135c416b2 38796: Fix subword matching on last character of subword. 2016-07-08 15:32:44 +01:00
arno
080b1cabab 38780: include variants containing non alphanumeric symbols in completion 2016-07-05 23:30:46 +02:00
Jordan Klassen
92d516cfa7 users/21551 (tweaked per users/21560): new git subtree completion 2016-07-05 23:29:40 +02:00
Daniel Shahaf
8468f24af4 38728: Tests: Add tests for the ':a' and ':A' modifiers. 2016-07-05 04:57:28 +00:00
Peter Stephenson
a7d5d239e6 38783: zcalc tweaks for RPN mode.
Make it more straightforward to exchange variables with stack.
2016-07-04 12:08:14 +01:00
Oliver Kiddle
a73ae70e82 38770: vi upper/lowercase widgets and shell widget example that reads a vi movement 2016-06-29 17:05:06 +02:00
Oliver Kiddle
5ea32ce2fc 38752: add comments to explain use of stdout instead of stderr for the which builtin 2016-06-29 17:04:50 +02:00
Daniel Shahaf
3a034838b4 38760: _git-config: Stop trying to execute the empty string command name upon completing values for an unknown option.
For example:

% git config x.y.z <TAB>
+_git-config:834> case x.y.z (alias.*)
+_git-config:834> case x.y.z (remotes.*)
+_git-config:860> local z=$'\C-@'
+_git-config:861> declare -a parts
+_git-config:862> parts=( '' )
+_git-config:863> ((  1 < 2  ))
+_git-config:863> [[ x.y.z == [^.]##.*.[^.]## ]]
+_git-config:864> parts=( '' )
+_git-config:866> ((  1 > 0  ))
+_git-config:867> case  (-\>*)
+_git-config:867> case  (*)
+_git-config:1197> declare -a action
+_git-config:1198> _description values expl ''
+_git-config:1199> eval 'action=()'
+(eval):1> action=( )
+_git-config:1200> '' -J values
_git-config:1200: permission denied:
+_git-config:1206> return ret
2016-06-27 00:21:02 +00:00
Daniel Shahaf
3bd8abc40b unposted: _git-config: Document some line noise. 2016-06-25 16:33:33 +00:00
Daniel Shahaf
59bf331d27 unposted: _git-config: Fix syntax error in 'tag.sort' completion. 2016-06-25 16:32:34 +00:00
Daniel Shahaf
14dbc20b02 38652: test harness: Emit unified diffs instead of context diffs 2016-06-25 16:32:27 +00:00
Oliver Kiddle
76f28cc908 38749: fixes for case at start of a line and for ksharrays 2016-06-22 22:15:52 +02:00
Peter Stephenson
7ae2deb437 unposted: remove flag unneded from previous fix 2016-06-22 14:03:38 +01:00
Peter Stephenson
954cdd77d7 38746: Fix suffix alias expansion recursion.
This was problematic if the expansion landed you back in
command position.

Delay marking the alias as out of use until the text that
caused the expansion is finished.
2016-06-22 13:10:22 +01:00
Oliver Kiddle
e83489fc4b 38714: add x: syntax to match specs to make it possible to disable match specs hardcoded in completion functions 2016-06-22 01:37:07 +02:00
Oliver Kiddle
139a4dbe07 38735: support verbose style to allow clearer but less compact descriptions for time specifiers 2016-06-22 01:30:22 +02:00
Oliver Kiddle
aed754980b 38733: completion for xfreerdp 2016-06-22 01:24:33 +02:00
Peter Stephenson
26c01f5711 38737: clean up zcalc variables.
Undocumented variables now start with "_".
2016-06-21 17:26:35 +01:00
Peter Stephenson
5103c85abb 38736: various RPN mode enhancements for zcalc 2016-06-21 16:34:55 +01:00
Peter Stephenson
016929e043 38734: fix final case clauses terminating with ;& 2016-06-21 16:12:51 +01:00
Peter Stephenson
d309d9addc 38692: IFS can't be changed in restricted mode 2016-06-21 12:32:27 +01:00
Barton E. Schaefer
0b8ab3a21a 38715: add-zle-hook-widget: assorted ksharrays fixes; assign an index to any hook that is added without one, to preserve append ordering 2016-06-19 19:50:37 -07:00
Barton E. Schaefer
25ae250068 unposted: when ksharrays is set, braces are required for all parameter expansions with colon-modifiers 2016-06-18 16:20:38 -07:00
Barton E. Schaefer
61a383ec4d unposted: zed needs localoptions noksharrays 2016-06-18 16:18:52 -07:00
Oliver Kiddle
a22f4ea8ba 38713: don't add calendar matches when not immediately entering menu selection 2016-06-18 02:04:39 +02:00
Oliver Kiddle
2f67cd514f 38707: strip suffix for glob qualifier completion 2016-06-18 00:15:11 +02:00
Oliver Kiddle
bce43df70d 38703: support su options on macOS 2016-06-18 00:08:16 +02:00
Peter Stephenson
4cacf1624f 38693: Add RPN mode to zcalc 2016-06-16 11:39:42 +01:00
Peter Stephenson
f497573c80 unposted: fix pareentheses in man for getrusage() 2016-06-16 09:33:49 +01:00
Jun-ichi Takimoto
944ab1a7aa 38684: fix format in contrib.yo 2016-06-16 08:48:12 +09:00
Eric Cook
bc1acf5b0e 38676, 38680: Completion for pidof and localedef. 2016-06-14 21:26:58 -04:00
Doug Kearns
2162c1a2d2 unposted: remove unused parameter 2016-06-14 22:00:29 +10:00
Peter Stephenson
3859aac04e users/21632: Use of REPORTMEMORY variable
If the child's resisdent set size in megabytes exceeds this, print
out the resource (TIMEFMT) string.  Document you need to add memory
usage to this by hand.
2016-06-13 16:06:22 +01:00
Daniel Shahaf
7badf262c1 38653 + 38657: 'functions -T' tracing: recurse into anonymous functions. 2016-06-13 08:53:18 +00:00
Daniel Shahaf
aa160fc8e9 38651: _git: Escape parameter arguments to _call_program.
Fixes 'git cat-file blob HEAD^:<TAB>' and a few other cases.
2016-06-13 08:53:17 +00:00
Daniel Shahaf
ec7088296b 38665: _git: config option completion: Quote properly. 2016-06-13 08:53:14 +00:00