about summary refs log tree commit diff
path: root/Functions
Commit message (Collapse)AuthorAgeFilesLines
* 36725: vcs_info git: Compute %b correctly when "git am"-ing onto detached heads.Daniel Shahaf2015-09-301-0/+1
| | | | | | | | Before this patch, $gitbranch would be set to empty, which caused VCS_INFO_get_data_git to early out with a failure status¹, consequently $vcs_info_msg_0_ would be empty. ¹ via the 'if [[ -z ]]' block around line 170.
* 36725: vcs_info git: Compute %b correctly when rebasing detached heads.Daniel Shahaf2015-09-301-0/+4
| | | | | | This sets the %b expando to the hash of the before-the-merge HEAD, rather than to the literal string "detached HEAD". That hash is already available via the gen-applied-string hook.
* 36725: vcs_info git: Compute %b correctly when merging to detached heads.Daniel Shahaf2015-09-301-1/+1
| | | | | The %b expando should be the hash prior to the merge. The hash of the merge result is available as the %i expando and via the gen-applied-string hook.
* 36601: vcs_info: handle missing .git/rebase-apply/{next,msg-clean}Daniel Hahler2015-09-281-11/+14
| | | | | | | When pressing Ctrl-C after `git am`, only `last` exists in `.git/rebase-apply/`, which is empty. This patch fixes it to fall back to "no patch applied" then.
* unposted: Fix broken case condition and "qualifer" typoMikael Magnusson2015-09-281-1/+1
|
* 36630: new function zsh_directory_name_genericPeter Stephenson2015-09-251-0/+151
|
* 36604: fix getopts+shift calculationBarton E. Schaefer2015-09-231-1/+1
|
* 36587: use +LINE:COLUMN to place the cursor when invoking emacs variants, ↵Barton E. Schaefer2015-09-221-3/+6
| | | | for emacsclient
* unposted: revert 36483 as multibyte is now handled by "zle .read-command"; ↵Barton E. Schaefer2015-09-121-13/+5
| | | | adapt to new default behavior of zle_highlight for paste
* 36483: handle incomplete multibyte characters in bracketed-paste-magiPeter Stephenson2015-09-111-4/+12
|
* 36410: vcs_info git: Present merge heads as patchesDaniel Shahaf2015-09-051-0/+17
| | | | | | | This shows, during 'git merge', the revision hashes of the "remote" head (the one that will become second parent of the commit) in the %m expando. Review-by: Frank Terbeck
* 36338: Replace "5.0.9" with "5.1" in source commentsAxel Beckert2015-08-302-2/+2
|
* 36314: Avoid using short_loops syntax in distributed filesMikael Magnusson2015-08-281-2/+2
|
* 36266: preserve emulation and setopt context for init and finish functions, ↵Barton E. Schaefer2015-08-211-9/+42
| | | | handle vi modes
* 36212: save and restore HISTNO along with other editor state, for sanity of ↵Barton E. Schaefer2015-08-171-3/+5
| | | | "zle undo"
* 36209: vcs_info: avoid grep error message when file is missingbrian m. carlson2015-08-181-1/+3
| | | | | | | When running git rebase -m and a conflict occurs, the git-rebase-todo file is not present. This leads to an error from grep every time the shell prompt is printed when vcs_info is enabled. Avoid this message by checking if the file exists before trying to grep it.
* unposted: mention bracketed-paste-magic in url-quote-magic commentsBarton E. Schaefer2015-08-161-0/+6
|
* 36195, 36196: wrapper of bracketed-paste for compatibilty with ↵Barton E. Schaefer2015-08-161-0/+192
| | | | url-quote-magic and other self-insert wrapper widgets
* 36131: make use of undo limits; call mkundoent() when $UNDO_CHANGE_NO is ↵Oliver Kiddle2015-08-131-13/+23
| | | | referenced for a clear change number marking the current state
* 36077: vcs_info: stop exporting everythingMikael Magnusson2015-08-1212-21/+22
|
* unposted (c.f. Bart: 35902): use - after zle -U in case $key is -Oliver Kiddle2015-08-051-1/+1
|
* 35937: wait for process IDs instead of job numbers in parallel modeBarton E. Schaefer2015-07-271-2/+2
|
* add RPS2 handling to "prompt bart", update help text, clean up indentation ↵Barton E. Schaefer2015-07-251-11/+28
| | | | whitespace
* 35807: edit-command-line: Fix for non-7bit-data (after 35769)Daniel Shahaf2015-07-241-1/+4
| | | | Bug reported and fix suggested by Mikael.
* 35815: fix for lack of startup output from newer nslookupOliver Kiddle2015-07-231-2/+1
|
* 35823: fix handling of MARK and CURSOR, clean up documentary commentBarton E. Schaefer2015-07-221-26/+37
|
* 35769: edit-command-line: Go to the right byte offsetDaniel Shahaf2015-07-131-1/+11
|
* 35737: (tweaked c.f. Peter: 35759): use new undo limit for minibuffer and ↵Oliver Kiddle2015-07-141-1/+4
| | | | beep when limit is reached
* 35660: prompt_adam1_setup: avoid perl, fix helpBarton E. Schaefer2015-06-281-4/+3
|
* 35558: narrow-to-region: Use unique parameter names for new featureMikael Magnusson2015-06-221-5/+5
|
* 35545: enhance narrow-to-region to return LBUFFER and RBUFFERPeter Stephenson2015-06-211-2/+11
|
* 35469: test UNDO_CHANGE_NO to determine whether to start over or use the ↵Barton E. Schaefer2015-06-141-3/+9
| | | | next history event
* 35386: expand tabs where useful in builtins outputing function.Peter Stephenson2015-06-051-4/+13
| | | | | | Also add to zed -f. Option is -x <numm>.
* 35234: better zfget completion with pathsHan Pingtian2015-05-301-5/+19
|
* 35285: _cdr: fix zstyle lookup for recent-dirs-insertDaniel Hahler2015-05-271-1/+1
| | | | The string was quoted incorrectly and missed the final ":".
* 35299: Improve effect of zfdir -rHan Pingtian2015-05-271-3/+4
|
* 35295: Try harder with zftp directory listingHan Pingtian2015-05-261-1/+7
|
* 35093: new zle widgets for Vim-style text objectsOliver Kiddle2015-05-133-0/+202
|
* 34721: new glob qualifier functions before, afterPeter Stephenson2015-03-162-0/+134
|
* 34673: vcs_info git: Fix error message when rebase hasn't startedDaniel Shahaf2015-03-091-0/+1
|
* 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).