about summary refs log tree commit diff
path: root/Functions
Commit message (Collapse)AuthorAgeFilesLines
* vcs_info hg: Support inactive bookmarksDaniel Shahaf2015-01-251-0/+17
| | | | (Similar to git detached heads)
* PATCH: 34333: vcs_info quilt: fix unapplied detection in subdirMarc Finet2015-01-221-13/+17
| | | | | | | | | | | | | When patches are applied, let quilt use .pc without forcing the patch directory, this will fix the unapplied detection when being in subdir. When no patches are applied, use zstyle quilt-patch-dir then QUILT_PATCHES then "patches" for path to search for patches. Note: prefer setting quilt-patch-dir rather than QUILT_PATCHES for absolute path because when patches are applied, quilt unapplied will not return the correct list (i.e. the whole list rather that the one specified by .pc/.quilt_series).
* unposted (cf. 34218): : remove -m from zmodload callsBarton E. Schaefer2015-01-102-2/+2
|
* 34202: safe tempfile creation part 3 -- use zf_ln instead of mvBarton E. Schaefer2015-01-102-3/+5
|
* 30568: Add tetriscurses contrib function, port of tetris to zcursesMikael Magnusson2015-01-091-0/+386
|
* 34068: create tempfiles without forking, and safe temp directory creationBarton E. Schaefer2014-12-289-10/+10
|
* 34067: safe tempfile creation, part 1Barton E. Schaefer2014-12-2712-60/+57
|
* 19371 plus tweak: run-help helper for ipArtur Penttinen2014-11-131-0/+42
|
* 33405: vcs_info: Make sure maxexports is set when VCS_INFO_set is calledFrank Terbeck2014-10-091-0/+1
| | | | Reported-by: From: Marco Hinz <mh.codebro@gmail.com>
* 33391: vcs_info git: fix applied patch detection on git amMarc Finet2014-10-091-10/+7
| | | | | | | | | git-am also uses .git/rebase-apply for patch list but the file original-commit does not exist (as no commit exist). This patch handles both git rebase and git am. Also: - get the first line (rather than the first char) when the message contains only one line; - remove unused function (ironically that should have been used here).
* 33277: Fix VCS_INFO_reposub's command expansionFrank Terbeck2014-09-291-3/+4
| | | | Reported-by: Marco Hinz <mh.codebro@gmail.com>
* 33217: vcs_info: use `--ignore-submodules=dirty` with diff/diff-indexDaniel Hahler2014-09-221-3/+3
| | | | | | | | | | | This will detect changes to submodules from the superproject's perspective, e.g. after `git rm submodule`. >From GIT-DIFF-INDEX(1)/GIT-DIFF(1): Using "dirty" ignores all changes to the work tree of submodules, only changes to the commits stored in the superproject are shown (this was the behavior until 1.7.0).
* 33184: vcs_info git: consider patches for rebaseMarc Finet2014-09-161-42/+74
| | | | | | | | Since a rebase contains a list of patches to re-apply, re-use the facility for stgit to have the same mechanism. The patch list given to the gen-{un,}applied-string hooks is an array with the sha1 and the subject of the commit. On rebase merge, the applied patches prior to current contains only a number and "?".
* 33188: vcs_info git: set rrn before using itMarc Finet2014-09-161-2/+2
| | | | | This would fix handling get-revision, check-for-changes or check-for-staged-changes when set per repository.
* 33145: vcs_info git: fix applied-string nameMarc Finet2014-09-141-1/+1
| | | | | Documentation and hg backend use applied-string. patch-string does not appear anywhere.
* 33148: vcs_info quilt: refactor standalone detectionMarc Finet2014-09-141-5/+3
| | | | | | Since VCS_INFO_bydir_detect always uses the vcs_comm[detect_need_file], it should be cleared when querying it without file.
* 33147: vcs_info git: detect revert or cherry-pick with multiple commitsMarc Finet2014-09-141-0/+5
| | | | | When revert or cherry-pick involve many commits the .git/sequencer directory holds context for the action and no CHERRY_PICK_HEAD exist.
* 33047: use git to simplify massively source distribution file selectionPeter Stephenson2014-08-2315-191/+1
|
* 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
|