summary refs log tree commit diff
path: root/Functions
Commit message (Collapse)AuthorAgeFilesLines
* 37252: vcs_info git: Compute %b correctly with "rebase --onto" of detached ↵Daniel Shahaf2015-11-301-1/+2
| | | | heads. (Follow-up to 36725.)
* unposted: ZCALCPROMPT created globally in zcalcPeter Stephenson2015-11-271-1/+3
|
* 37214: 'prompt walters': Don't export PS1Daniel Shahaf2015-11-271-3/+3
|
* 37192: silence WARN_CREATE_GLOBAL in prompt themesBarton E. Schaefer2015-11-227-7/+12
|
* 37186: a couple more WARN_CREATE_GLOBAL fixesPeter Stephenson2015-11-221-0/+1
|
* 37170: suppress global create warning in functionPeter Stephenson2015-11-201-5/+5
|
* zed: Add -- to the `functions' builtin callsEric Cook2015-11-161-2/+2
| | | | | | | | | Reported on IRC: % autoload zed; zed -f -- "-zgen-prezto-load" zed:83: bad option: -g -zgen-prezto-load() { }
* 37025: vcs_info git: Add a cherry-pick patch-formatDaniel Shahaf2015-11-131-0/+22
|
* 36993: zed: fix argument parsingEric Cook2015-10-311-21/+10
|
* 37027: allow subword context to discriminate between wordsPeter Stephenson2015-10-301-2/+7
|
* 37014: Improved internal parameter setting.Peter Stephenson2015-10-292-1/+3
| | | | | | | | Enhance WARNCREATEGLOBAL to work in many more cases. Don't create REPLY as an integer if it didn't previously exist as one, even if the value to be set is integral, as this is likely to mess up later uses of REPLY.
* 36994: declare local REPLY for use with "zle .read-command"; use ↵Barton E. Schaefer2015-10-271-3/+3
| | | | .self-insert instead of .self-insert-unmeta
* 36913 + 36945: vcs_info quilt: Pass patch subject lines to gen-applied-stringDaniel Shahaf2015-10-241-0/+30
| | | | The format used is '${patchname} ${subject}', which is analogous to the git backend.
* 36912: vcs_info quilt: Tolerate being in child of .pc's parentDaniel Shahaf2015-10-241-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.
* 36871: move initial call to "zle .bracketed-paste-magic" to occur earlier in ↵Barton E. Schaefer2015-10-211-4/+7
| | | | | | the function Just in case any later initialization might have side-effects.
* 36888: vcs_info: Prevent warn_create_global warning with '-preinit-' stateFrank Terbeck2015-10-181-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.
* 36856: cdr -p/-P to prune directory listPeter Stephenson2015-10-141-6/+31
|
* 36832: vcs_info: Remove dependency on "seq"Frank Terbeck2015-10-111-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.
* 36830: vcs_info: Silence an error message with new git versionsFrank Terbeck2015-10-111-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.
* 36754: Functions/TCP: Tweak some usage output in the tcp_* functionsMikael Magnusson2015-10-034-5/+5
|
* unposted: bracketed-paste-url-magic: actually do what the comment saysMikael Magnusson2015-10-011-4/+6
|
* 36735: add ~/.zcalcrc handling to zcalcPeter Stephenson2015-10-011-0/+4
|
* 36692: bracketed-paste-url-magic: simpler alternative for handling pasted urlsMikael Magnusson2015-10-011-0/+42
|
* 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
|