summaryrefslogtreecommitdiff
path: root/Functions
AgeCommit message (Collapse)AuthorFilesLines
2015-10-2436913 + 36945: vcs_info quilt: Pass patch subject lines to gen-applied-stringDaniel Shahaf1-0/+30
The format used is '${patchname} ${subject}', which is analogous to the git backend.
2015-10-2436912: vcs_info quilt: Tolerate being in child of .pc's parentDaniel Shahaf1-0/+1
Without this, gen-applied-string would only be set when .pc is a child of cwd, not when it is a child of an ancestor of cwd.
2015-10-2136871: move initial call to "zle .bracketed-paste-magic" to occur earlier in ↵Barton E. Schaefer1-4/+7
the function Just in case any later initialization might have side-effects.
2015-10-1836888: vcs_info: Prevent warn_create_global warning with '-preinit-' stateFrank Terbeck1-0/+2
This is related to 33405. Turns out that not all other calls to VCS_INFO_set are okay: With recent zsh versions the early call to that function with the '-preinit-' argument causes a warning like this: VCS_INFO_set:9: math parameter maxexports created globally in function VCS_INFO_set This fixes it.
2015-10-1436856: cdr -p/-P to prune directory listPeter Stephenson1-6/+31
2015-10-1136832: vcs_info: Remove dependency on "seq"Frank Terbeck1-2/+3
The "seq" utility is usually available on GNU systems only. This exchanges calls to seq with pure zsh features. Also: Less forks are good.
2015-10-1136830: vcs_info: Silence an error message with new git versionsFrank Terbeck1-12/+22
Mikael informs me on IRC, that in new versions of git (he used 2.6.1) where the "am" subcommand is now a builtin, a file that is used by the git backend of vcs_info (namely .git/rebase-apply/msg-clean) is not available anymore, leading to an annoying error message: VCS_INFO_get_data_git:232: no such file or directory: .git/rebase-apply/msg-clean This patch checks for the availabiliy of the file before using it, and adjusts the value of the dependant values accordingly.
2015-10-0336754: Functions/TCP: Tweak some usage output in the tcp_* functionsMikael Magnusson4-5/+5
2015-10-01unposted: bracketed-paste-url-magic: actually do what the comment saysMikael Magnusson1-4/+6
2015-10-0136735: add ~/.zcalcrc handling to zcalcPeter Stephenson1-0/+4
2015-10-0136692: bracketed-paste-url-magic: simpler alternative for handling pasted urlsMikael Magnusson1-0/+42
2015-09-3036725: vcs_info git: Compute %b correctly when "git am"-ing onto detached heads.Daniel Shahaf1-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.
2015-09-3036725: vcs_info git: Compute %b correctly when rebasing detached heads.Daniel Shahaf1-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.
2015-09-3036725: vcs_info git: Compute %b correctly when merging to detached heads.Daniel Shahaf1-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.
2015-09-2836601: vcs_info: handle missing .git/rebase-apply/{next,msg-clean}Daniel Hahler1-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.
2015-09-28unposted: Fix broken case condition and "qualifer" typoMikael Magnusson1-1/+1
2015-09-2536630: new function zsh_directory_name_genericPeter Stephenson1-0/+151
2015-09-2336604: fix getopts+shift calculationBarton E. Schaefer1-1/+1
2015-09-2236587: use +LINE:COLUMN to place the cursor when invoking emacs variants, ↵Barton E. Schaefer1-3/+6
for emacsclient
2015-09-12unposted: revert 36483 as multibyte is now handled by "zle .read-command"; ↵Barton E. Schaefer1-13/+5
adapt to new default behavior of zle_highlight for paste
2015-09-1136483: handle incomplete multibyte characters in bracketed-paste-magiPeter Stephenson1-4/+12
2015-09-0536410: vcs_info git: Present merge heads as patchesDaniel Shahaf1-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
2015-08-3036338: Replace "5.0.9" with "5.1" in source commentsAxel Beckert2-2/+2
2015-08-2836314: Avoid using short_loops syntax in distributed filesMikael Magnusson1-2/+2
2015-08-2136266: preserve emulation and setopt context for init and finish functions, ↵Barton E. Schaefer1-9/+42
handle vi modes
2015-08-1736212: save and restore HISTNO along with other editor state, for sanity of ↵Barton E. Schaefer1-3/+5
"zle undo"
2015-08-1836209: vcs_info: avoid grep error message when file is missingbrian m. carlson1-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.
2015-08-16unposted: mention bracketed-paste-magic in url-quote-magic commentsBarton E. Schaefer1-0/+6
2015-08-1636195, 36196: wrapper of bracketed-paste for compatibilty with ↵Barton E. Schaefer1-0/+192
url-quote-magic and other self-insert wrapper widgets
2015-08-1336131: make use of undo limits; call mkundoent() when $UNDO_CHANGE_NO is ↵Oliver Kiddle1-13/+23
referenced for a clear change number marking the current state
2015-08-1236077: vcs_info: stop exporting everythingMikael Magnusson12-21/+22
2015-08-05unposted (c.f. Bart: 35902): use - after zle -U in case $key is -Oliver Kiddle1-1/+1
2015-07-2735937: wait for process IDs instead of job numbers in parallel modeBarton E. Schaefer1-2/+2
2015-07-25add RPS2 handling to "prompt bart", update help text, clean up indentation ↵Barton E. Schaefer1-11/+28
whitespace
2015-07-2435807: edit-command-line: Fix for non-7bit-data (after 35769)Daniel Shahaf1-1/+4
Bug reported and fix suggested by Mikael.
2015-07-2335815: fix for lack of startup output from newer nslookupOliver Kiddle1-2/+1
2015-07-2235823: fix handling of MARK and CURSOR, clean up documentary commentBarton E. Schaefer1-26/+37
2015-07-1335769: edit-command-line: Go to the right byte offsetDaniel Shahaf1-1/+11
2015-07-1435737: (tweaked c.f. Peter: 35759): use new undo limit for minibuffer and ↵Oliver Kiddle1-1/+4
beep when limit is reached
2015-06-2835660: prompt_adam1_setup: avoid perl, fix helpBarton E. Schaefer1-4/+3
2015-06-2235558: narrow-to-region: Use unique parameter names for new featureMikael Magnusson1-5/+5
2015-06-2135545: enhance narrow-to-region to return LBUFFER and RBUFFERPeter Stephenson1-2/+11
2015-06-1435469: test UNDO_CHANGE_NO to determine whether to start over or use the ↵Barton E. Schaefer1-3/+9
next history event
2015-06-0535386: expand tabs where useful in builtins outputing function.Peter Stephenson1-4/+13
Also add to zed -f. Option is -x <numm>.
2015-05-3035234: better zfget completion with pathsHan Pingtian1-5/+19
2015-05-2735285: _cdr: fix zstyle lookup for recent-dirs-insertDaniel Hahler1-1/+1
The string was quoted incorrectly and missed the final ":".
2015-05-2735299: Improve effect of zfdir -rHan Pingtian1-3/+4
2015-05-2635295: Try harder with zftp directory listingHan Pingtian1-1/+7
2015-05-1335093: new zle widgets for Vim-style text objectsOliver Kiddle3-0/+202
2015-03-1634721: new glob qualifier functions before, afterPeter Stephenson2-0/+134