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

8533 commits

Author SHA1 Message Date
Peter Stephenson
493fe2b444 unposted: rewrite Nularg math handling to be like other cases 2015-04-15 18:14:27 +01:00
Peter Stephenson
2ef4b38461 34892 (slightly tweaked): math evaluation fix
An empty expression resulting from substitution includes a
Nularg, which needs handling the same as an empty string.
2015-04-15 10:20:06 +01:00
Peter Stephenson
a2c579050f 34887: Fix POSIX_BUILTINS with assignment.
In the form
  var=val command special-builtin-or-func
the var is restored after execution, unlike the case where "command"
is absent.

Clear up case in code that handles this.

Add tests.
2015-04-15 09:44:19 +01:00
Daniel Shahaf
741b0bd97f users/20159: completion: zstyle: Add 'show-ambiguity' 2015-04-13 21:06:02 +00:00
Daniel Shahaf
122bb9a125 34886: completion: git: Complete rebase --exec argument 2015-04-13 21:01:45 +00:00
Daniel Shahaf
7793ebcb71 34885: completion: git: Sort "commit object" completions most recent first 2015-04-13 20:59:19 +00:00
Daniel Shahaf
7929dd8cba 34885: completion: git: Fix another instance of the 34671 bug fixed in 34814 2015-04-13 20:59:02 +00:00
Han Pingtian
959aa75423 34880: POSIX_TRAPS doc 2015-04-13 11:30:23 +01:00
Han Pingtian
20982001b1 34875: CSH_JUNKIE_HISTORY doc 2015-04-13 11:26:52 +01:00
Han Pingtian
cea8b471f6 users/20078: HIST_BEEP doc 2015-04-13 11:21:12 +01:00
Clint Adams
b3d32115f8 34874: completion for cabal 2015-04-10 19:31:33 -04:00
Daniel Hahler
ca8edaba92 34748: completion: git: update list of builtintools 2015-04-10 16:24:42 +00:00
Jun-ichi Takimoto
be5f561fa4 34850: make URLs in html/pdf docs clickable 2015-04-07 20:40:57 +09:00
Barton E. Schaefer
d4f50f2d18 34851: fix thinko from 34093 that short-circuited some "whence -m" searches 2015-04-06 10:26:57 -07:00
Barton E. Schaefer
1fa68938dc 34837: avoid loss of original file path when applying colon-modifiers in glob qualifiers 2015-04-03 09:55:11 -07:00
Jun-ichi Takimoto
f5e7c4c839 34840: minor format fixes in prompt.yo 2015-04-03 21:40:25 +09:00
Jun-ichi Takimoto
1278156dc3 34836: fix description of '%-0<<' in prompt.yo 2015-04-03 21:29:41 +09:00
Daniel Shahaf
727533088a 34814: completion: git: Fix bug introduced by 236da69
Based on a patch by Daniel Hahler <git@thequod.de>.
2015-04-01 09:44:26 +00:00
Han Pingtian
5b2bb68364 34822: correction to GLOB_SUBST doc 2015-04-01 09:31:48 +01:00
Peter Stephenson
3ef734ca72 users/20058: improve device completion in ip completion.
We were too eager to regard strings already on the command line
as possible devices.
2015-03-31 20:10:08 +01:00
Peter Stephenson
f1c702f2a4 34817: Catch some errors earlier when reading history.
Mostly for the case of an interrupt.

Don't try to process words when we know something's gone wrong.

Also abort history reading earlier on an interrupt.
2015-03-29 19:47:01 +01:00
Theo Buehler
b4aa9cdc76 34792: langinfo: Fix pointer type 2015-03-29 06:19:38 +00:00
Daniel Hahler
0b79922edb 34762: completion: git: add short option for '--dir-diff' (_git-difftool) 2015-03-29 05:52:44 +00:00
Barton E. Schaefer
81ba837972 34781: add implicit space after alias expansion of tokens that form words without spacing
fixes crash when using completion immediately following such an alias
2015-03-28 21:24:27 -07:00
Barton E. Schaefer
7d2b53f65b 34804: refine POSIX_ALIAS change to preserve old behavior of [[ ]] conditionals 2015-03-28 21:08:02 -07:00
Barton E. Schaefer
ab4065623a 34788: refine errflag handling in cmd_or_math() 2015-03-27 11:54:55 -07:00
Han Pingtian
26cfae830c 34785: fix typo in SHINSTDIN doc 2015-03-27 10:36:45 +00:00
Peter Stephenson
e6a6505dc4 34787: Add more history tests 2015-03-27 10:21:02 +00:00
Peter Stephenson
3774bae034 34784: fix old bug with history word selection 2015-03-26 20:28:13 +00:00
Barton E. Schaefer
784a9f786d 34779: tests for 34776 2015-03-25 17:33:35 -07:00
Han Pingtian
ddf96cf933 34769: incorrect doc of process time calculation 2015-03-25 19:29:59 +00:00
Peter Stephenson
a22cb7cad2 34776: improve suppression of alias expansions from history.
Now uses the mechanism in use for other forms of suppression of
sections of input.
2015-03-25 18:00:25 +00:00
Barton E. Schaefer
158484941a 34774: fix %prep and use read from a no-op pipe to force wait for the timeout 2015-03-25 09:57:23 -07:00
Barton E. Schaefer
13bad92fd8 34772: add new test suite file for history; fix "read" usage in comptest 2015-03-23 21:18:58 -07:00
Peter Stephenson
f6be7bc19f 34759: improve implementation of last commit 2015-03-22 19:21:10 +00:00
Peter Stephenson
4fb669a72d 34758: fix yet more history / command subst interaction.
In general we need to wind back over the history text input
inside command substitution because there's no level of
the input mechanism between history and the lexer.
2015-03-22 18:44:56 +00:00
Barton E. Schaefer
8254c9c071 users/20034: adjust PREFIX and SUFFIX for unambiguous_cursor on second completion attempt with GLOB_COMPLETE 2015-03-21 09:29:52 -07:00
Peter Stephenson
a74fe69d05 34753: work around NFS problem in tests.
Use tmp directory if it helps us check file time comparisons.
If it doesn't we're no worse off than we were.
2015-03-20 15:00:02 +00:00
Peter Stephenson
89aca2d0a0 34752: another fix for history expansion in cmd subst 2015-03-20 11:02:23 +00:00
Peter Stephenson
f48457a695 34742: history expansion inside command substitution failed.
Needs the case of alias expansion separating out.
2015-03-19 11:10:49 +00:00
Daniel Shahaf
e176eff554 34739: git completion: Fix regression in ce80a92
This restores the message when completing a commit object name that
isn't one of the most recent 20 commits.  e.g., 'git checkout deadbeef<TAB>'.
2015-03-19 06:51:32 +00:00
Barton E. Schaefer
d1119bc072 unposted: update NEWS to reference aliasing changes.
Also apologize for copy-paste spooge in the preceding commit log.
2015-03-18 21:16:09 -07:00
Barton E. Schaefer
32b4cb0e73 34734: further aliasing adjustments and doc
restrict token aliasing (34641) to global aliases; tighten up POSIX_ALIASES to better match spec; update Aliasing doc to cover this and clarify older behavior

2015-03-18  Peter Stephenson  <p.stephenson@samsung.com>

	* 34723: configure.ac: turn off fixed site function directory if
2015-03-18 18:01:54 -07:00
Peter Stephenson
0b00462644 34723: disable fixed site function dir if user disable site function dir 2015-03-18 09:20:44 +00:00
Peter Stephenson
55fe20cc17 unposted: update NEWS some more 2015-03-17 09:50:05 +00:00
Peter Stephenson
6a0cef59c5 34725: update NEWS for site function configuration.
It might be overridden if the installer explicitly sets it up
differently.
2015-03-16 18:22:48 +00:00
Peter Stephenson
235e9bd1bf 34721: new glob qualifier functions before, after 2015-03-16 15:09:16 +00:00
Daniel Shahaf
236da69842 34671 plus tweaks: Add -1 -2 -J -V -x to _describe, use them to sort 'git --fixup' hash completions 2015-03-16 09:27:06 +00:00
Daniel Shahaf
097dedf9ab 34671: git completion: only offer recent commits' tags/heads for --fixup 2015-03-16 09:25:39 +00:00
Barton E. Schaefer
7e994fe145 34712: clarify words that may be aliased 2015-03-15 23:33:19 -07:00