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

639 commits

Author SHA1 Message Date
Stephane Chazelas
2989e4b66e 31417: age function needs protection against file names starting "-" 2013-05-21 14:45:52 +01:00
Frank Terbeck
e619a7353a 31222: Stop {up,down}-line-or-beginning-search from triggering warn_create_global
This is a followup to 30995 taking Peter's suggestions from 30997 into
account.
2013-04-05 21:05:54 +02:00
Peter Stephenson
ab8fe84a8c 31155: minor extra zcalc features and documentation 2013-03-17 20:52:55 +00:00
Peter Stephenson
136cc1e1b7 31154: make zcalc understand continuation lines with a backslash 2013-03-15 20:15:10 +00:00
Mikael Magnusson
44907223ff 31136: vcs_info: just set parameters instead of passing over a pipe 2013-03-10 13:18:32 +00:00
Mikael Magnusson
0c8625299a 30639: Add support for showing the current action is cherry-pick to vcs_info git backend 2013-03-10 12:47:39 +00:00
Peter Stephenson
26694406f2 users/17666: zcalc -f sets FORCE_FLOAT 2013-03-05 20:06:59 +00:00
Peter Stephenson
6265394d6b users/17608: use function to modify currrent command line argument 2013-01-24 20:28:20 +00:00
Frank Terbeck
2e6363ed50 Baptiste Daroussin: 30703: VCS_INFO_detect_fossil: Fix fossil detection on unix 2012-09-28 22:11:32 +00:00
Frank Terbeck
feb6169bcd Seth House: 30702: contrib.yo, VCS_INFO_get_data_hg: Removed --debug flag from the hg vcs_info backend 2012-09-28 22:07:29 +00:00
Peter Stephenson
07fd604718 Stepan Koltsov: 30634: use (q-) quoting
for zmv output for clarity.
2012-08-20 14:03:04 +00:00
Frank Terbeck
3aae0ef8fe Stepan Koltsov: vcs_info: %a to output number of all patches in (no)?patch-format styles 2012-08-17 08:22:52 +00:00
Bart Schaefer
38a4364db5 users/17134: avoid bad math error 2012-06-16 04:30:35 +00:00
Peter Stephenson
5b32dece55 users/17132: skip-whitespace-first style for compatibility with bash etc.
in widgets using forward-word-match
2012-06-04 16:40:42 +00:00
Frank Terbeck
c45bb3e70c Juliano Ravasi: VCS_INFO_get_data_git: Fix initialisation of `$stgit_unapplied' 2012-05-23 07:39:48 +00:00
Mikael Magnusson
2a7c994ed4 30468: prompt_fade_setup: add missing $ 2012-05-14 15:24:20 +00:00
Mikael Magnusson
150dc9021b 30461, 30462 (tweaked): add missing local for match, mbegin and mend 2012-05-02 13:09:37 +00:00
Peter Stephenson
5e2fe3ca18 30388, 30389 (Stephane): zargs: handle zero-length arguments. 2012-04-12 18:45:59 +00:00
Peter Stephenson
246a63d9d3 users/16944: more locals needed in url-quote-magic 2012-04-01 17:28:31 +00:00
Peter Stephenson
791ada572b add some braces to avoid compiler warnings 2012-03-30 11:01:11 +00:00
Peter Stephenson
13a45d74eb users/16932: implement $UNDO_CHANGE_NO and argument to undo widget 2012-03-29 20:31:33 +00:00
Bart Schaefer
915766c624 unposted (users/16697): use a better output file name when the DISPLAY
variable refers to a socket file (MacOS); fix problem with writing the
output file when the user overrides the default value of TERM.
2012-03-01 03:36:48 +00:00
Bart Schaefer
f2bf8fa365 unposted (30090): add -h (help) and -L (list extant hooks) options. 2012-03-01 03:35:49 +00:00
Peter Stephenson
c3b79e0f69 users/16760: make reply local in url-quote-magic for the benefit of styles 2012-02-14 15:33:01 +00:00
Wayne Davison
a6dbc79065 30214: emulate bash's \$ prompt behavior. 2012-02-14 05:22:01 +00:00
Frank Terbeck
6157e2d00b 30214: prompt_redhat_setup: Fix quoting in `redhat' prompt. 2012-02-13 20:06:49 +00:00
Frank Terbeck
0d15215d86 30114: VCS_INFO_check_com: Remove a superfluous stat() 2012-01-19 16:57:40 +00:00
Peter Stephenson
942fe9d6de 30087: Christian Höltje: remove any hooks with prompt theme 2012-01-05 20:04:09 +00:00
Frank Terbeck
ee03cac7fe 30046: VCS_INFO_get_data_svn: Fix support for subversion version 1.7 2011-12-30 13:32:51 +00:00
Bart Schaefer
c33f3b0747 30020: prevent prompt_opts and zle_highlight from leaking out of
prompt_preview_theme
2011-12-13 17:43:55 +00:00
Peter Stephenson
6e29de366c Missed file. 2011-11-20 16:05:12 +00:00
Peter Stephenson
7c4a811134 29908: make MIME functions handle stacked suffixes 2011-11-18 09:52:50 +00:00
Frank Terbeck
6ed7fab103 Akinori MUSHA: 29900: Backends/VCS_INFO_detect_svn: Adjust detection to support subversion 1.7. 2011-11-09 17:49:25 +00:00
Peter Stephenson
ec6914b061 29894: display and use previous replacement in replace-string 2011-11-07 11:13:48 +00:00
Peter Stephenson
a6e039e12e 29892: fix regular expression replacements in replace-string
improve variable save and restore in read-from-minibuffer
2011-11-04 14:31:23 +00:00
Bart Schaefer
557baa173c users/16291: prompt_bart_preexec uses history text in the non-"fg" case
to avoid alias expansion.
2011-08-29 16:08:28 +00:00
Bart Schaefer
c4beabbc64 Belatedly add move-line-in-buffer. 2011-08-20 18:39:24 +00:00
Bart Schaefer
fdcabaf507 Use preexec hook to replace "fg" et al. with the jobtext of the resumed job. 2011-08-18 02:23:31 +00:00
Mikael Magnusson
20c52f6221 28852: Use syntax that doesn't depend on SHORT_LOOPS being set. 2011-08-14 13:40:53 +00:00
Peter Stephenson
4a3ce8ab89 29644: work around _describe bug, plus cosmetic tweaks 2011-08-03 20:57:32 +00:00
Frank Terbeck
f028b97e8f 29526: vcs_info: Set max-exports' early after certain start-up' hooks. 2011-06-30 07:43:53 +00:00
Peter Stephenson
525d0adf15 Jeremy Sylvestre: 29468: add some ligatures and symbols to composed characters 2011-06-08 17:19:12 +00:00
Clint Adams
c0d2cb5d02 fix whitespace in Functions/Zle/move-line-in-buffer 2011-06-05 05:40:53 +00:00
Bart Schaefer
0cc65dba53 users/16064: example widget for line motion inside multiline buffers
without navigating history
2011-06-01 15:30:20 +00:00
Frank Terbeck
5e2a1cf4cc Jan Pobrislo: 29411: vcs_info: Major bzr backend update. 2011-05-31 19:07:06 +00:00
Mikael Magnusson
72cb7cfc6f 29307, 29308 + replies: Fix some doubled words in docs and comments. 2011-05-19 16:10:46 +00:00
Frank Terbeck
875f048b8b unposted: Revert change from 28896, which did more evil than good. 2011-04-25 22:26:18 +00:00
Frank Terbeck
eb46727d3a 28959: Make the nvcsformats style be used if vcs_info is disabled. 2011-03-30 21:24:42 +00:00
Frank Terbeck
7c50fa1262 28961: Add `no-vcs' hook. 2011-03-30 21:19:17 +00:00
Frank Terbeck
abe0ee3936 28960: Add functions to add/remove static hooks. 2011-03-30 21:17:07 +00:00
Frank Terbeck
d7bcf2bb96 28958: Support registering hooks independent of the context. 2011-03-30 21:13:37 +00:00
Frank Terbeck
15779b019d Add new vcs_info backend files to corresponding `.distfiles' file. 2011-03-30 20:11:17 +00:00
Frank Terbeck
ae6fb299f3 Mike Meyer: 28956, 28957: Add fossil support to vcs_info. 2011-03-30 20:07:05 +00:00
Frank Terbeck
166d91a480 28896: unset `monitor' option while the widget is running to avoid accidential data loss. 2011-03-16 20:53:57 +00:00
Peter Stephenson
f2dca9e155 users/15864: turn zsh_directory_name into a hook 2011-03-11 16:32:07 +00:00
Bart Schaefer
1a3612f119 Adrian: 28857: Functions/Prompts/prompt_bigfade_setup: use %d instead of $PWD 2011-03-05 17:34:21 +00:00
Frank Terbeck
2eac105770 28853: Fix typo: preceed -> precede 2011-03-04 13:25:25 +00:00
Frank Terbeck
3c020a9a9c 28776: Let vcs_info detect very old mercurial repositories. 2011-02-19 11:54:41 +00:00
Peter Stephenson
212ca9edf9 28772: Update regions in region highlight dynamically 2011-02-18 22:08:45 +00:00
Frank Terbeck
9bfc05e3db 28758: make `colors' function work with non-default option sets 2011-02-15 09:28:54 +00:00
Peter Stephenson
2c31feef4d users/15738: better cursor positioning in modify-current-argument 2011-02-11 19:28:44 +00:00
Frank Terbeck
f5b07d4868 Lennart Weller: 28739: Fix svn detection in vcs_info 2011-02-11 07:05:09 +00:00
Bart Schaefer
d5e53b0077 users/15759 for send-invisible 2011-02-11 04:03:11 +00:00
Peter Stephenson
c9a70e18fd Štěpán Němec: 28533: typos 2010-12-17 17:10:47 +00:00
Bart Schaefer
828574d953 users/15583: update with zstyles and for ease of use in zle-line-init. 2010-11-27 19:47:00 +00:00
Peter Stephenson
2b361ad116 users/15580: fix MIME handler completion on fallthrough 2010-11-25 15:43:14 +00:00
Peter Stephenson
76351e9b69 Jérôme Pouiller: 28351: new help functions 2010-10-18 09:33:42 +00:00
Peter Stephenson
bdb38058e4 28345: make ${(D)...} return a fully usable command line argument 2010-10-15 18:56:16 +00:00
Peter Stephenson
154b7351f4 unposted: safety on regexp errors in replace-string-again 2010-09-08 16:32:44 +00:00
Clint Adams
0bb608abc4 unposted: tweak newline placement. 2010-08-10 18:57:43 +00:00
Peter Stephenson
a9e7fd4e75 28137: zsh-mime-handler typo: $argv[0] should be $argv[1] 2010-08-08 17:20:54 +00:00
Frank Terbeck
01b4a67310 Seth House: 28114: vcs_info, git: Fix revision lookup with packed repositories. 2010-08-02 21:11:08 +00:00
Peter Stephenson
93e0bc094f users/15204: in zfinit check for compctl before using 2010-07-28 15:53:32 +00:00
Peter Stephenson
4de3dbac16 c.f. users/15202: use "autoload -Uz" consistently 2010-07-28 14:01:12 +00:00
Peter Stephenson
10c2f225fd c.f. users/15202: use "autoload -Uz" consistently 2010-07-28 13:33:52 +00:00
Peter Stephenson
bdfc1edc89 28096: don't add $OLDPWD to recent dirs as we weren't there 2010-07-20 21:46:42 +00:00
Peter Stephenson
c42ae31a19 28081: cdr tweaks 2010-07-20 18:59:15 +00:00
Frank Terbeck
bb95aef24f 28095: Fix two hard-coded invocations of the "git" command. 2010-07-19 20:05:22 +00:00
Frank Terbeck
9b2334cf55 28093, based on Michel Lespinasse: 28090: Fix a problem with `check-for-changes' and freshly initialised repositories. 2010-07-19 19:20:27 +00:00
Peter Stephenson
5da6530d83 28065 plus unposted zsh.mdd:
add cdr and related functions and docs
2010-07-09 14:47:48 +00:00
Clint Adams
924f40b772 28062: make the filename even longer 2010-06-30 13:22:51 +00:00
Clint Adams
6e0d1b57ce 28061: transpose filename halves, describe action better 2010-06-30 13:08:14 +00:00
Clint Adams
e1772fd046 27998: add recommended zshrc option. 2010-06-30 12:49:29 +00:00
Peter Stephenson
091cbd9d58 28042: transpose-lines widget 2010-06-16 21:50:39 +00:00
Peter Stephenson
14dde08475 28038: improved handling of recurring events in calendar system 2010-06-14 13:01:41 +00:00
Frank Terbeck
17b7471fbc Seth House: 27971: vcs_info: Fix a bug that caused the mercurial backend to always return `default' as the branch name. 2010-05-27 10:06:16 +00:00
Peter Stephenson
35d3418aeb users/15078: completion for zsh-mime-handler 2010-05-23 19:54:03 +00:00
Frank Terbeck
88ea63adf2 Simon Ruderich: 27953: vcs_info: changed default formats and actionformats. 2010-05-14 07:58:37 +00:00
Frank Terbeck
0501efc54a Seth House, Simon Ruderich and myself: 27948: various vcs_info changes
Here's a diff-stat:

 Doc/Zsh/contrib.yo                                |  506 ++++++++++++++-------
 Functions/VCS_Info/.distfiles                     |    1 +
 Functions/VCS_Info/Backends/VCS_INFO_detect_hg    |   14 +-
 Functions/VCS_Info/Backends/VCS_INFO_get_data_git |   35 +-
 Functions/VCS_Info/Backends/VCS_INFO_get_data_hg  |  295 +++++++++----
 Functions/VCS_Info/VCS_INFO_formats               |   26 +-
 Functions/VCS_Info/VCS_INFO_hook                  |   10 +-
 Functions/VCS_Info/VCS_INFO_quilt                 |  190 ++++++++
 Functions/VCS_Info/vcs_info                       |   30 +-
 Misc/.distfiles                                   |    1 +
 Misc/vcs_info-examples                            |  496 ++++++++++++++++++++
 11 files changed, 1303 insertions(+), 301 deletions(-)

The major changes are vast improvements for the mercurial (hg) backend
(which was done almost entirely by Seth); improved documentation (mostly
done by Simon and again Seth); quilt support (as an addon and stand
alone, see the manual for details); a number of new hooks and a fair
share of bugfixes.
2010-05-10 10:46:48 +00:00
Frank Terbeck
4277121662 27908: Functions/VCS_Info/vcs_info: Avoid locale related problems 2010-04-26 18:58:33 +00:00
Peter Stephenson
c30b038a42 unposted: calendar system updates:
allow file locking to fall back; don't need dcop for kdialog
2010-04-13 16:28:21 +00:00
Peter Stephenson
5e629a4565 update calendar to run calendar_show in current shell 2010-03-19 16:39:36 +00:00
Peter Stephenson
9cfc991811 unposted: calendar -s was broken by file locking change 2010-03-17 16:55:04 +00:00
Frank Terbeck
ff22b24f1b Simon Ruderich: 27779: Fix mistakes in vcs_info's documentation. 2010-03-11 12:39:38 +00:00
Peter Stephenson
00e507fc0e unposted: fix calendar bug updating repeating events
allow calendar_edit to take arguments for editor
2010-03-09 11:01:20 +00:00
Peter Stephenson
de3159d73a Frank: 27768: shut up cd some more 2010-03-04 10:03:00 +00:00
Peter Stephenson
07b6256d8e 27756: add OS file locking to calendar
add errflag test to loop over fcntl()
2010-02-26 12:09:20 +00:00
Peter Stephenson
8a0629c12b 27731: Frank: turn off WARN_CREATE_GLOBAL in VCS_INFO 2010-02-21 18:41:41 +00:00
Peter Stephenson
1c7075f8b9 Frank: 27717: option terminators in VCS Info 2010-02-17 11:16:13 +00:00
Peter Stephenson
4523ff9383 Frank Terbeck, Seth House: 27712, 22713, 27714:
VCS Info hooks and Mercurial improvements
2010-02-16 10:47:06 +00:00
Peter Stephenson
94777f64e8 Frank Terbeck, Seth House: 27712, 22713, 27714:
VCS Info hooks and Mercurial improvements
2010-02-16 10:09:15 +00:00
Peter Stephenson
4a0ddedf0a unposted: a couple of typeset -g's and a comment 2010-02-08 11:49:28 +00:00
Peter Stephenson
f8e05427db Frank: 27679: better logic in VCS_INFO_get_data_git 2010-02-07 18:50:54 +00:00
Peter Stephenson
0d8a580951 users/14752: add #! line to zed
allow script run with -i to exit on return
2010-01-29 21:44:54 +00:00
Peter Stephenson
1d31834223 Julien Jehannet: users/14751: typo in variable name in zed 2010-01-29 20:58:43 +00:00
Peter Stephenson
1c71dfd735 unposted: return status 1 if no replacement 2010-01-19 13:13:56 +00:00
Peter Stephenson
c508c6e368 27604: substitution using regular expressions 2010-01-18 12:47:09 +00:00
Peter Stephenson
8c60540ce6 27577: sergio: (%) is not needed in zcalc prompt since PROMPTPERCENT is obeyed 2010-01-08 09:30:43 +00:00
Peter Stephenson
3b289b32a7 unposted: new run-help-p4 2009-12-16 12:11:56 +00:00
Peter Stephenson
46bad169a8 27492 based on Jörg Sommer: 27473: fix run-help alias problem. 2009-12-16 11:07:09 +00:00
Peter Stephenson
b7e76da2ef Alexey: users/14588: ztodo function and completion 2009-11-22 19:17:32 +00:00
Peter Stephenson
3d8115275f Alexey: users/14588: ztodo function and completion 2009-11-22 19:06:54 +00:00
Clint Adams
2746eec722 unposted: change bracket colors default to yellow when in an ssh session. 2009-11-20 03:05:54 +00:00
Peter Stephenson
d6c4e4c692 Frank Terbeck: 27353: more VCS_Info sanity checks 2009-11-06 14:35:33 +00:00
Peter Stephenson
65e45654b3 unposted: brief calendar display 2009-11-03 09:57:34 +00:00
Peter Stephenson
f25c62cb18 unposted: Functions/Calendar/calendar: brief display failed on single lines 2009-10-29 09:50:45 +00:00
Peter Stephenson
d5d858b0e2 unposted: more local variables needed 2009-10-22 09:28:30 +00:00
Peter Stephenson
7c4c41a0bb unposted, c.f. 27313: mailing list and website moved 2009-10-22 09:28:02 +00:00
Peter Stephenson
179cd828a5 Lionel Flandrin: 27307: enhanced Mecurial VCS_INFO support 2009-10-04 18:18:12 +00:00
Peter Stephenson
1f6225fd78 Baptiste Daroussin: 27271: remove awk dependence 2009-09-13 18:26:21 +00:00
Peter Stephenson
d980a79a43 27270: zfcd_match: remove awk dependence 2009-09-13 18:24:21 +00:00
Peter Stephenson
dc6ef8c9ae Baptiste Daroussin: 27268:
remove Perl dependency from pick-web-browser
2009-09-11 11:26:46 +00:00
Peter Stephenson
49b4a71009 Baptiste Daroussin: 27267 plus 27269 plus doc:
remove perl dependency
2009-09-11 11:20:45 +00:00
Peter Stephenson
817000920f 27247: zmv checking for **/ was wrong 2009-09-06 21:35:37 +00:00
Peter Stephenson
c326bf0d30 27228: clear function for zsh-newuser-install 2009-08-21 14:34:51 +00:00
Peter Stephenson
0600ab5c99 27217: fix typo in assignment in new user script 2009-08-17 11:15:37 +00:00
Peter Stephenson
6f78cb51ef Frank Terbeck: users/14207: make variable local 2009-06-26 19:25:08 +00:00
Peter Stephenson
a5417250d5 Frank Terbeck: 27049, 27050, 27051, 27052: VCS_INFO improvements 2009-06-19 21:05:48 +00:00
Clint Adams
a1fc66a3cd 27048: avoid multiline prints which break CSH_JUNKIE_QUOTES. 2009-06-18 14:26:43 +00:00
Peter Stephenson
dfabf50cf1 27305: fix GNU man option handling in run-help 2009-06-05 11:18:01 +00:00
Peter Stephenson
f359213eec 26982: Julien Langer: support stgit in VCS_Info 2009-05-22 17:38:05 +00:00
Peter Stephenson
ad3d514ac7 26973: zmathfuncdef enhancements 2009-05-19 15:33:24 +00:00
Peter Stephenson
49db32f2b5 Paul Ackersviller: 26959: delay before removing test modules
users/14118: fix test and assignment in prompt_special_chars
2009-05-13 08:39:47 +00:00
Peter Stephenson
d1abd3e7cf 26957: Fix some memory problems with read builtin
unposted: fix a WARN_CREATE_GLOBAL warning
2009-05-12 11:11:14 +00:00
Peter Stephenson
7e304940e5 unposted: back off 26862 2009-04-25 20:30:20 +00:00
Peter Stephenson
46fd8beec7 c.f. 26867: remove extraneous "${" 2009-04-22 08:31:53 +00:00
Peter Stephenson
0c11cb5b47 Greg: 26862: remove unnecessary print 2009-04-21 16:05:34 +00:00
Peter Stephenson
8dd8067f13 Frank Terbeck: 26816 to 26820: VCS_Info updates 2009-04-06 19:19:08 +00:00
Peter Stephenson
672923e282 Frank Terbeck: 26751: suppress WARN_CREATE_GLOBAL warning 2009-03-18 09:47:54 +00:00
Peter Stephenson
f2dd38acc1 Richard Hartmann: 26550: document unchangeable options better 2009-02-11 17:57:56 +00:00
Peter Stephenson
76f05a9932 Frank Terbeck: 26549: VCS_Info improvements: check for changes in git 2009-02-11 12:48:21 +00:00
Peter Stephenson
45bee14fec 26313: --enable-custom-patchlevel
unposted: WARN_CREATE_GLOBAL in tcp_log
2009-01-15 14:49:50 +00:00
Peter Stephenson
a21ffe815d Benjamin R. Haskell: 26265: fix some composed characters 2009-01-09 09:44:45 +00:00
Peter Stephenson
76dc71f882 Frank Terbeck: 26215: VCS_Info disable-patterns style 2009-01-03 18:40:17 +00:00
Clint Adams
80bb48a400 26202: show zshmodules(1) for echotc, echoti, sched, zprof, zpty, zsocket, zstyle, and ztcp builtins as well. 2008-12-30 05:40:55 +00:00
Clint Adams
0414a4fd70 26141: word-split EDITOR/VISUAL so users can have multi-argument commands in those variables. 2008-12-16 15:41:13 +00:00
Peter Stephenson
b4a2d51e57 Frank Terbeck: 26125: add "command" style to VCS_INFO 2008-12-11 09:53:12 +00:00
Peter Stephenson
37a4dce4bc 26121: add -B <lines> option to calendar 2008-12-10 13:30:27 +00:00
Peter Stephenson
2e0031c348 Benjamin R. Haskell: users/13544: typo in composing characters 2008-12-08 09:47:43 +00:00
Peter Stephenson
ec48872b7c Frank Terbeck: 26104: eliminate WARN_CREATE_GLOBAL warnings 2008-12-02 09:33:56 +00:00