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.
4 years ago
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.
4 years ago
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.
4 years ago
Yutian Li
dd7a26e219
[git] Also check "commondir" when looking for a stash ( #1620 )
6 years ago
Diego Rabatone Oliveira
b3c27bb164
Replace git with 'command git' ( #1551 )
...
to improve performance if git is aliased to hub or other wrappers.
7 years ago
Zhiming Wang
d25b251ef7
git: Add revert to special action contexts
...
revert is very similar to cherry-pick and has a sequence variant.
7 years ago
Sorin Ionescu
d43bcb9720
Revert "Remove extra git-dir call in git-info and use git_dir variable instead"
...
This reverts commit 3012c0984b
.
10 years ago
Yegor Pomortsev
3012c0984b
Remove extra git-dir call in git-info and use git_dir variable instead
10 years ago
Sorin Ionescu
a84ac5b002
Only one newline at end of file
10 years ago
Johannes Doerfert
fedad8e9cf
Fix git-info added/deleted count formatting typo
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
11 years ago
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.
12 years ago
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.
12 years ago
Sorin Ionescu
db384b2ac6
Remove ununsed variable
12 years ago
Sorin Ionescu
e836957e4f
[ Fix #221 ] Add a simple git-info
12 years ago
Sorin Ionescu
5306bab7ce
[ #221 ] Do not format undefined zstyles
12 years ago
Sorin Ionescu
f3ae9dd82c
Initialize ahead and behind local variables
12 years ago
Sorin Ionescu
cfc95cd5ee
[ Fix #244 ] Add Git special action styles
12 years ago
Sorin Ionescu
be300dbd80
[ Fix #96 ] Add documentation for git
12 years ago
Sorin Ionescu
4c116cb4d2
Rename git-info zstyle patterns
12 years ago
Sorin Ionescu
bd9327ca3f
Rename the Git status ignore submodules zstyle pattern
12 years ago
Sorin Ionescu
b0a71cae3c
Load dependencies in Git init
12 years ago
Sorin Ionescu
3d5e302777
[ Fix #245 ] Merge trap into helper
12 years ago
Sorin Ionescu
ac04921afa
Clarify info functions descriptions
12 years ago
Sorin Ionescu
fb9a20591f
[ Fix #197 ] Rebrand as Prezto
...
Conflicts:
README.md
runcoms/zshenv
12 years ago
Sorin Ionescu
a952a60362
Fix a syntax error introduced in bf654dd
12 years ago
Sorin Ionescu
bf654dde09
Improve the readability of _git-action
12 years ago
Sorin Ionescu
8d7f785ea9
Remove the unnecessary action local variable
12 years ago
Sorin Ionescu
722353130e
Detect the sequenced Git cherry picking action
12 years ago
Sorin Ionescu
d3cad0721b
Remove 'prompt' from the Git position zstyle
13 years ago
Sorin Ionescu
aa925d22b4
[ Fix #170 ] Remove Git stash count leading spaces
13 years ago
Sorin Ionescu
3c084f57bb
[ #169 ] Move _git-dir out of git-info into git-dir
13 years ago
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
13 years ago
Colin Hebert
5b6855e3eb
Always format Git dirty
13 years ago
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.
13 years ago
Sorin Ionescu
c9b8ad569d
Convert add-zsh-trap into a module
13 years ago
Sorin Ionescu
d13b697792
Simplify Git submodule ignore settings
13 years ago
Sorin Ionescu
68dd3109fc
Move Git zstyles into the git-info header comment
13 years ago
Sorin Ionescu
48dcd2f723
Shorten git zstyle namespace
13 years ago
Sorin Ionescu
a7340886b3
[ #23 ] Rename plugins to modules
13 years ago