Peter Stephenson
2e48eceb1a
34921: handle error in recursive par_event().
...
Here documents in an interrupted list caused bad juju.
2015-04-17 22:43:38 +01:00
Peter Stephenson
4553cbad19
34920: info on git pull
2015-04-17 18:31:50 +01:00
Peter Stephenson
de22f2bfa6
34919: update interrupt parse error for ZLE cases.
...
Covers both send-break and push-input.
2015-04-17 17:37:26 +01:00
Daniel Hahler
156327023c
34899: completion: _vim: add nvim to #compdef
...
nvim is used by NeoVim and is fairly compatible.
2015-04-17 13:36:30 +00:00
Peter Stephenson
4508d25710
34905: no parse error after keyboard interrupt.
...
Handled generally, though only showing up in special nested
cases.
Also fix ZLE so it doesn't cancel the interrupt flag when
not actually returning from a local keymap.
2015-04-17 10:23:58 +01:00
Mikael Magnusson
ccb1cf2d10
34902: Doc: Explain the numeric argument and be consistent about what we call it
2015-04-16 14:30:26 +02:00
Peter Stephenson
ffb3168586
34901: Test for the previous commit
2015-04-15 21:29:04 +01:00
Peter Stephenson
3bf8cab82e
34900: assignment before an "exec".
...
Without POSXIBUILTIN: restore after, so we only get side effects.
With POSXIBUILTIN: keep set variable
2015-04-15 21:16:17 +01:00
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