about summary refs log tree commit diff
path: root/Functions
Commit message (Collapse)AuthorAgeFilesLines
* 33002: tcp_expect -P pm tags matches with a stringPeter Stephenson2014-08-141-7/+28
|
* unposted: updates for 5.0.5-dev-1 and subsequent 5.0.6 release zsh-5.0.5-dev-1Peter Stephenson2014-08-101-0/+1
|
* %P at start of TCP function system prompt causes %-style prompt substPeter Stephenson2014-07-301-0/+3
|
* unposted: replace-argument can take negative prefix to count from endPeter Stephenson2014-07-241-7/+9
|
* 32866: new replace-argument ZLE function.Peter Stephenson2014-07-172-0/+55
| | | | | | Also a couple of read-from-minibuffer fixes: don't pass numeric argument to recursive edit, and hide the minibuffer edit from the undo history.
* 32662: vcs_info git: Fix stagedstr for empty reposDaniel Shahaf2014-06-021-4/+10
| | | | | | In empty repositories, HEAD is an unresolvable symbolic ref. Start computing stagedstr/unstagedstr in that case; for the former, use a different method than the non-empty-repository case.
* 32621: vcs_info svn: 'Fix set-branch-format' when in subdirsDaniel Shahaf2014-05-291-7/+15
| | | | | | | The previous code would fail to detect the wcroot with Subversion 1.7+ when cwd is at least two levels below the root (i.e., ../../.svn exists and ../.svn doesn't), and would then pass to the hook the revision and basename of cwd rather than of the wcroot.
* 32619: vcs_info svn: Use the revision of cwdDaniel Shahaf2014-05-291-3/+5
| | | | | | | Previously, the value of the wc root would be used. In Subversion, it makes more sense to use the revision of cwd, since all commands (e.g., 'svn ci', 'svnversion') operate only on cwd and below, not on wcroot and below.
* 32597: vcs_info git: Describe detached heads symbolically.Daniel Shahaf2014-05-061-1/+1
| | | | | | | This makes %b expand to a refname rather than a sha1 when HEAD is detached but happens to match some ref (branch, tag, etc). The resulting output will typically contain a slash (e.g., "tags/v1.0.2", "heads/mybranch"), which helps distinguish it from the output in the "HEAD is a symbolic ref" case.
* addition to 32527: also update .distfilesPeter Stephenson2014-04-071-0/+1
|
* 32527: zcalc-auto-insert key binding for use in zcalcPeter Stephenson2014-04-072-0/+11
|
* 32528: vcs_info: Add check-for-staged-changesDaniel Shahaf2014-04-051-5/+16
|
* 32453: fix zcalc default base handlingPeter Stephenson2014-03-011-1/+1
|
* users 18531 plus doc etc.: new expand-absolute-path widgetPeter Stephenson2014-02-282-0/+20
|
* 32299: add use of underscores on arithmetic output for spacingPeter Stephenson2014-01-231-1/+1
|
* 32264: vcs_info, hg: Support detecting repos using ShareExtensionFrank Terbeck2014-01-171-1/+1
|
* 32089: tweak to detect Subversion repositoryDaniel Shahaf2013-12-051-1/+1
|
* 32066: fix %r and %S in vcs_info formats when a repository subdirectory is ↵Barton E. Schaefer2013-11-292-3/+3
| | | | | | accessed via a symlink 31985 Clemens Hammacher and 32064 Hong Xu
* 32031 plus missed _run_help: get helpfiles install path corect in functionsPeter Stephenson2013-11-231-1/+1
|
* 31940: zcalc -e uses arguments as inputPeter Stephenson2013-11-081-9/+27
|
* Some syntax adjustments in _expand_word_and_keep. Add a working URL.Barton E. Schaefer2013-10-271-10/+17
|
* 31711: add execute-never style for MIME function system.Peter Stephenson2013-09-081-1/+5
| | | | Allows alien file systems to be marked as not having executable fiels
* users/17955: new "disown" style for MIME handlers.Peter Stephenson2013-08-291-3/+6
| | | | Makes handlers put into the background run without job control.
* 31634: run-help compat with alias to noglob/nocorrectPhil Pennock2013-08-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Given `alias fetch='noglob fetch'`, without this change `run-help fetch` recurses to invoke itself on the noglob command, bringing up the help for noglob. Similarly for nocorrect. Thus the user would have to quit out of the pager, then avoid quitting out of the loop, so that they can go into the second iteration and see the help for the second instance found by `whence -a`, which happens to be the target of the alias. With common pagers, that's thus 'q', 'not-q'. Somewhat frustrating. Without this change, `alias foo='noglob bar'` where `foo` is not otherwise a command would _never_ show the help for `bar`, since it only showed the help for `noglob` and there was no second line of whence output to trigger the second pass. With this change, aliases to `noglob|nocorrect` of a command somewhat ignore the presence of that precommand modifier; if a command is aliased to `noglob $itself`, then the result is that the first line of whence output is shown, no pager is used, the user can immediately see a prompt to continue and press something other-than-q to see the help for the command. If given `alias foo='noglob bar'` then `run-help foo` will immediately show the help for bar. This behaviour was chosen to be consistent with the existing alias support, but just working better with the precommand modifier.
* 31503: zmv improvements for user-specified programs.Peter Stephenson2013-07-031-4/+11
| | | | | -p splits words of commands passed to it. -P is like -p for when the program doesn't understand the -- convention
* 31485: vcs_info, git: Avoid error messages for `guilt' usersFrank Terbeck2013-06-181-1/+3
| | | | | | | | | | Guilt uses the same internal directory for keeping state as stgit, but it doesn't use the same files (not surprisingly). This caused error messages due to missing files. This fixes that by making the "stgit-active?" test stricter. Reported-by: Axel Beckert <abe@debian.org>
* 31422: better heuristic for timestamps in age functionPeter Stephenson2013-05-291-2/+8
|
* 31418: improve documentation for "age" functionPeter Stephenson2013-05-211-1/+1
|
* 31417: age function needs protection against file names starting "-"Stephane Chazelas2013-05-211-3/+3
|
* 31222: Stop {up,down}-line-or-beginning-search from triggering ↵Frank Terbeck2013-04-052-0/+4
| | | | | | | warn_create_global This is a followup to 30995 taking Peter's suggestions from 30997 into account.
* 31155: minor extra zcalc features and documentationPeter Stephenson2013-03-171-1/+10
|
* 31154: make zcalc understand continuation lines with a backslashPeter Stephenson2013-03-151-1/+11
|
* 31136: vcs_info: just set parameters instead of passing over a pipeMikael Magnusson2013-03-101-12/+9
|
* 30639: Add support for showing the current action is cherry-pick to vcs_info ↵Mikael Magnusson2013-03-101-0/+11
| | | | git backend
* users/17666: zcalc -f sets FORCE_FLOATPeter Stephenson2013-03-051-1/+4
|
* users/17608: use function to modify currrent command line argumentPeter Stephenson2013-01-241-13/+22
|
* Baptiste Daroussin: 30703: VCS_INFO_detect_fossil: Fix fossil detection on unixFrank Terbeck2012-09-281-1/+1
|
* Seth House: 30702: contrib.yo, VCS_INFO_get_data_hg: Removed --debug flag ↵Frank Terbeck2012-09-281-3/+6
| | | | from the hg vcs_info backend
* Stepan Koltsov: 30634: use (q-) quotingPeter Stephenson2012-08-201-1/+1
| | | | for zmv output for clarity.
* Stepan Koltsov: vcs_info: %a to output number of all patches in ↵Frank Terbeck2012-08-173-8/+11
| | | | (no)?patch-format styles
* users/17134: avoid bad math errorBart Schaefer2012-06-161-1/+1
|
* users/17132: skip-whitespace-first style for compatibility with bash etc.Peter Stephenson2012-06-042-83/+91
| | | | in widgets using forward-word-match
* Juliano Ravasi: VCS_INFO_get_data_git: Fix initialisation of `$stgit_unapplied'Frank Terbeck2012-05-231-1/+1
|
* 30468: prompt_fade_setup: add missing $Mikael Magnusson2012-05-141-1/+1
|
* 30461, 30462 (tweaked): add missing local for match, mbegin and mendMikael Magnusson2012-05-024-1/+4
|
* 30388, 30389 (Stephane): zargs: handle zero-length arguments.Peter Stephenson2012-04-121-8/+8
|
* users/16944: more locals needed in url-quote-magicPeter Stephenson2012-04-011-1/+2
|
* add some braces to avoid compiler warningsPeter Stephenson2012-03-301-0/+2
|
* users/16932: implement $UNDO_CHANGE_NO and argument to undo widgetPeter Stephenson2012-03-291-0/+9
|
* unposted (users/16697): use a better output file name when the DISPLAYBart Schaefer2012-03-011-7/+8
| | | | | variable refers to a socket file (MacOS); fix problem with writing the output file when the user overrides the default value of TERM.