1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 20:57:59 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
Jim Boulter
1ff1099d05 Allow users to set a dirty-branch format 2022-04-01 10:36:35 -07:00
Indrajit Raychaudhuri
a3643f124e git: Optimize scripts for git helper functions
Optimize git internal calls and adjustment git helper functions to use
more idiomatic Zsh conventions avoiding external calls.
2021-05-21 13:40:49 -05:00
Indrajit Raychaudhuri
efebe3efec git: Alias and function cleanup and formatting for clarity
Changes:
- Prefer longer form of git switch for better clarity.
- Move `-S` (`--gpg-sign`) in all the alias definitions to  the end to
  allow custom keyid.
- Simplify operations in helper functions git native calls.
- Apply minor reformatting and rearranging.
2021-05-21 13:40:49 -05:00
Zhiming Wang
a132c1007a
git-info: use tab as separator for splitting ahead_and_behind (#902)
The current implementation is not tamper-proof against a modified IFS. See discussion in https://github.com/sorin-ionescu/prezto/pull/902 for details.
2020-06-29 10:26:36 -07:00
Yutian Li
dd7a26e219 [git] Also check "commondir" when looking for a stash (#1620) 2018-09-15 09:35:48 -07:00
Diego Rabatone Oliveira
b3c27bb164 Replace git with 'command git' (#1551)
to improve performance if git is aliased to hub or other wrappers.
2018-03-05 00:56:25 -08:00
Zhiming Wang
d25b251ef7 git: Add revert to special action contexts
revert is very similar to cherry-pick and has a sequence variant.
2017-07-11 12:18:19 -07:00
Sorin Ionescu
d43bcb9720 Revert "Remove extra git-dir call in git-info and use git_dir variable instead"
This reverts commit 3012c0984b.
2014-12-08 18:21:00 -05:00
Yegor Pomortsev
3012c0984b Remove extra git-dir call in git-info and use git_dir variable instead 2014-11-12 19:19:19 -05:00
Sorin Ionescu
a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
Johannes Doerfert
fedad8e9cf Fix git-info added/deleted count formatting typo
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-03-07 15:52:39 -05:00
Sorin Ionescu
39b88fe334 Remove the git-info SIGINT message
Users should read the Git module README on how to turn git-info on and
off.
2013-05-18 15:31:34 -04:00
Sorin Ionescu
a7623aad6b [Fix #307] Do not auto-off git-info
Instead of turning off git-info when CTRL+C is caught, show instructions
on how to turn it off manually.
2013-05-18 15:31:34 -04:00
Sorin Ionescu
db384b2ac6 Remove ununsed variable 2013-05-18 15:31:33 -04:00
Sorin Ionescu
e836957e4f [Fix #221] Add a simple git-info 2013-05-18 15:31:32 -04:00
Sorin Ionescu
5306bab7ce [#221] Do not format undefined zstyles 2013-05-18 15:31:31 -04:00
Sorin Ionescu
f3ae9dd82c Initialize ahead and behind local variables 2013-05-18 15:31:31 -04:00
Sorin Ionescu
cfc95cd5ee [Fix #244] Add Git special action styles 2012-10-02 14:23:01 -04:00
Sorin Ionescu
be300dbd80 [Fix #96] Add documentation for git 2012-10-02 13:01:46 -04:00
Sorin Ionescu
4c116cb4d2 Rename git-info zstyle patterns 2012-10-02 12:47:37 -04:00
Sorin Ionescu
bd9327ca3f Rename the Git status ignore submodules zstyle pattern 2012-10-01 22:46:51 -04:00
Sorin Ionescu
b0a71cae3c Load dependencies in Git init 2012-09-29 13:07:31 -04:00
Sorin Ionescu
3d5e302777 [Fix #245] Merge trap into helper 2012-09-08 19:23:39 -04:00
Sorin Ionescu
ac04921afa Clarify info functions descriptions 2012-09-06 23:17:38 -04:00
Sorin Ionescu
fb9a20591f [Fix #197] Rebrand as Prezto
Conflicts:
	README.md
	runcoms/zshenv
2012-09-03 16:51:27 -04:00
Sorin Ionescu
a952a60362 Fix a syntax error introduced in bf654dd 2012-08-28 23:58:09 -04:00
Sorin Ionescu
bf654dde09 Improve the readability of _git-action 2012-08-27 21:37:04 -04:00
Sorin Ionescu
8d7f785ea9 Remove the unnecessary action local variable 2012-08-27 20:40:16 -04:00
Sorin Ionescu
722353130e Detect the sequenced Git cherry picking action 2012-08-27 20:38:23 -04:00
Sorin Ionescu
d3cad0721b Remove 'prompt' from the Git position zstyle 2012-05-21 15:58:05 -04:00
Sorin Ionescu
aa925d22b4 [Fix #170] Remove Git stash count leading spaces 2012-05-08 22:38:40 -04:00
Sorin Ionescu
3c084f57bb [#169] Move _git-dir out of git-info into git-dir 2012-05-08 22:37:24 -04:00
Sorin Ionescu
73f22c2a32 Revert "[Fix #64] Remove the clean git-info style"
This reverts commit a06f13f036.

Conflicts:

	modules/git/functions/git-info
	plugins/git/style.zsh
2012-04-14 21:40:01 -04:00
Colin Hebert
5b6855e3eb Always format Git dirty 2012-04-11 16:58:25 -04:00
Sorin Ionescu
aa0c1faa19 [Fix #88] Allow arbitrary git-info formats
The terms 'prompt' and 'rprompt' are not always appropriate.
A multi-line theme may choose 'line-one' and 'line-two' instead.

@ColinHebert contributed to this commit.
2012-04-09 17:45:31 -04:00
Sorin Ionescu
c9b8ad569d Convert add-zsh-trap into a module 2012-04-09 17:41:55 -04:00
Sorin Ionescu
d13b697792 Simplify Git submodule ignore settings 2012-04-09 17:41:53 -04:00
Sorin Ionescu
68dd3109fc Move Git zstyles into the git-info header comment 2012-04-09 17:39:07 -04:00
Sorin Ionescu
48dcd2f723 Shorten git zstyle namespace 2012-04-08 15:07:14 -04:00
Sorin Ionescu
a7340886b3 [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00