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

8654 commits

Author SHA1 Message Date
Barton E. Schaefer
54fe61ab32 34961: unquote history words when command line has a quote 2015-04-25 11:05:52 -07:00
Barton E. Schaefer
87e76f89bb 34961: properly handle the case of finding no files when searching $fpath and $_compdir 2015-04-25 11:04:07 -07:00
Barton E. Schaefer
9d0e3bde2a 34961: minor wording clarification 2015-04-25 10:58:55 -07:00
Barton E. Schaefer
0164457a19 34961: $TZ is implicitly local in builtin strftime (originally workers/34602 from workers/34596) 2015-04-25 10:57:44 -07:00
Barton E. Schaefer
f8fb6ebae8 34961: clean up declarations of quote() and quotebreak() 2015-04-25 10:51:54 -07:00
Barton E. Schaefer
89c2129905 34961: sysparams[pid] and sysparams[ppid] added to variables index 2015-04-25 10:50:16 -07:00
Barton E. Schaefer
89a689e693 34961: replace a couple of free() with zfree() for consistency 2015-04-25 10:48:43 -07:00
Barton E. Schaefer
33ff5d06f2 34961: add backslash to alias expansion matching (related to workers/32186) 2015-04-25 10:47:31 -07:00
Barton E. Schaefer
76fcbc6eda 34961: test for breadth-first glob with (Y1) qualifier (originally workers/32726) 2015-04-25 10:39:48 -07:00
Peter Stephenson
e0cdf39fd9 34955: save and restore list_pipe_job with its friends
This is needed to stop source() messing up job control.
2015-04-24 16:34:51 +01:00
Oliver Kiddle
f4d8051de1 34940: _fc: fix typo breaking completion for history 2015-04-24 10:59:27 +02:00
Mikael Magnusson
9a0f5ea8a7 Revert "34926: _fc: Remove a spurious 2"
This reverts commit dd623b4403.
2015-04-21 12:16:13 +02:00
Mikael Magnusson
dd623b4403 34926: _fc: Remove a spurious 2 2015-04-19 08:23:11 +02:00
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