about summary refs log tree commit diff
path: root/Functions
Commit message (Collapse)AuthorAgeFilesLines
* 37971: fix potential issues when interacting with user-defined widgetsBarton E. Schaefer2016-02-141-2/+2
| | | | Cf. users/21284: Eric Freese
* 37814: run-help-ip: use an absolute path for the shebang.Kamil Dudka2016-01-281-1/+1
|
* unposted: Fix typo in comment.Daniel Shahaf2016-01-151-2/+2
|
* 37612: vcs_info git: Set $git_patches_unapplied correctly for 'rebase-apply' ↵Daniel Shahaf2016-01-151-1/+3
| | | | | | case. This manifested, e.g., in 'git am' of a single patch that had a conflict.
* 37570: give truth to the doc assertion transpose-words-match is a drop-in ↵Barton E. Schaefer2016-01-131-1/+10
| | | | replacement for transpose-words
* 37567: use (Z:n:) to split the buffer into words so line breaks are treated ↵Barton E. Schaefer2016-01-131-3/+3
| | | | as whitespace
* 37451: vcs_info: Declare "msgs" in early contextFrank Terbeck2015-12-301-1/+1
| | | | | | The parameter *is* being declared with the redefinition of the function, but not in its initial form, which gets you a warning about the parameter being defined globally. This fixes it.
* 37345: VCS_INFO functions break with setopt no_unsetPhilip Sequeira2015-12-232-2/+2
| | | | | With setopt no_unset in my config file, vcs_info fails with: VCS_INFO_maxexports:7: vcs: parameter not set
* users/21082 (expanded): a more complete sorting of version strings that are ↵Barton E. Schaefer2015-12-191-1/+19
| | | | not in the form of zsh version numbers; additional explanatory comment
* users/21068: use emacs keymap in vared by defaultBarton E. Schaefer2015-12-191-1/+1
|
* unposted (after users/20873): Theoretical fix: don't parse print/echo escape ↵Daniel Shahaf2015-12-191-2/+2
| | | | sequences in $zle_bracketed_paste.
* 37400: typo gave unwanted error message in zsh_directory_name_genericPeter Stephenson2015-12-141-2/+2
|
* 37386: localise mbegin, mend, match in URL magicPeter Stephenson2015-12-111-1/+1
|
* users/20873: disable bracketed paste while running external editor from zleOliver Kiddle2015-12-111-3/+7
|
* 37347: Remove incorrect local for msgs in VCS infoPeter Stephenson2015-12-081-1/+0
|
* 37295: kill-word-match: Join killsDaniel Shahaf2015-12-032-0/+4
|
* 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