summaryrefslogtreecommitdiff
path: root/Functions
AgeCommit message (Collapse)AuthorFilesLines
2016-01-15unposted: Fix typo in comment.Daniel Shahaf1-2/+2
2016-01-1537612: vcs_info git: Set $git_patches_unapplied correctly for 'rebase-apply' ↵Daniel Shahaf1-1/+3
case. This manifested, e.g., in 'git am' of a single patch that had a conflict.
2016-01-1337570: give truth to the doc assertion transpose-words-match is a drop-in ↵Barton E. Schaefer1-1/+10
replacement for transpose-words
2016-01-1337567: use (Z:n:) to split the buffer into words so line breaks are treated ↵Barton E. Schaefer1-3/+3
as whitespace
2015-12-3037451: vcs_info: Declare "msgs" in early contextFrank Terbeck1-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.
2015-12-2337345: VCS_INFO functions break with setopt no_unsetPhilip Sequeira2-2/+2
With setopt no_unset in my config file, vcs_info fails with: VCS_INFO_maxexports:7: vcs: parameter not set
2015-12-19users/21082 (expanded): a more complete sorting of version strings that are ↵Barton E. Schaefer1-1/+19
not in the form of zsh version numbers; additional explanatory comment
2015-12-19users/21068: use emacs keymap in vared by defaultBarton E. Schaefer1-1/+1
2015-12-19unposted (after users/20873): Theoretical fix: don't parse print/echo escape ↵Daniel Shahaf1-2/+2
sequences in $zle_bracketed_paste.
2015-12-1437400: typo gave unwanted error message in zsh_directory_name_genericPeter Stephenson1-2/+2
2015-12-1137386: localise mbegin, mend, match in URL magicPeter Stephenson1-1/+1
2015-12-11users/20873: disable bracketed paste while running external editor from zleOliver Kiddle1-3/+7
2015-12-0837347: Remove incorrect local for msgs in VCS infoPeter Stephenson1-1/+0
2015-12-0337295: kill-word-match: Join killsDaniel Shahaf2-0/+4
2015-11-3037252: vcs_info git: Compute %b correctly with "rebase --onto" of detached ↵Daniel Shahaf1-1/+2
heads. (Follow-up to 36725.)
2015-11-27unposted: ZCALCPROMPT created globally in zcalcPeter Stephenson1-1/+3
2015-11-2737214: 'prompt walters': Don't export PS1Daniel Shahaf1-3/+3
2015-11-2237192: silence WARN_CREATE_GLOBAL in prompt themesBarton E. Schaefer7-7/+12
2015-11-2237186: a couple more WARN_CREATE_GLOBAL fixesPeter Stephenson1-0/+1
2015-11-2037170: suppress global create warning in functionPeter Stephenson1-5/+5
2015-11-16zed: Add -- to the `functions' builtin callsEric Cook1-2/+2
Reported on IRC: % autoload zed; zed -f -- "-zgen-prezto-load" zed:83: bad option: -g -zgen-prezto-load() { }
2015-11-1337025: vcs_info git: Add a cherry-pick patch-formatDaniel Shahaf1-0/+22
2015-10-3136993: zed: fix argument parsingEric Cook1-21/+10
2015-10-3037027: allow subword context to discriminate between wordsPeter Stephenson1-2/+7
2015-10-2937014: Improved internal parameter setting.Peter Stephenson2-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.
2015-10-2736994: declare local REPLY for use with "zle .read-command"; use ↵Barton E. Schaefer1-3/+3
.self-insert instead of .self-insert-unmeta
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