1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-12 20:47:31 +02:00
Commit Graph

6814 Commits

Author SHA1 Message Date
Peter Stephenson 0e797d79ce 35007: Note in doc about scope of ZLE parameters 2015-05-01 09:55:04 +01:00
Peter Stephenson bf258a1c07 34992: POSIX fix for readonly variables.
With POSIXBUILTINS, variables can be marked readonly if unset.
Also, variables can't have the readonly flag removed.
2015-04-29 15:54:49 +01:00
Peter Stephenson c96a993d51 34989: AUTO_CD needs to call cd --.
Otherwise directories looking like options do the wrong thing.
2015-04-28 20:42:26 +01:00
Jared Ahern 4096469b34 34980: expanding make variables was broken 2015-04-28 09:36:11 +01:00
Peter Stephenson 8b4c46fb3f 34980: in completion match new Makefile assignment forms 2015-04-28 09:27:37 +01:00
Peter Stephenson df5115a741 34979: Preserve job text when doing shell job fix.
This handles list_pipe_text in execlist() along with other
variables that are saved and restored and, in the special
case of source, cleared.
2015-04-28 09:22:37 +01:00
Peter Stephenson 9f9a16f43c 34977: more reliable test if preprocessor is GNU 2015-04-28 09:20:15 +01:00
Barton E. Schaefer a9c8b6a076 34966: "whence -v" for a function reports whether the function is autoloaded or its source file when known 2015-04-25 12:54:17 -07:00
Barton E. Schaefer fae07f65a3 34965: consistent use of zalloc/zrealloc/zfree 2015-04-25 12:40:35 -07:00
Barton E. Schaefer fd574101a9 34961: avoid _message because it aborts completer list too early 2015-04-25 11:07:14 -07:00
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