Jim Boulter
0df602b6c0
Allow users to set a dirty-branch format
3 years ago
David Crook
d56d3e5bfc
change polarity of test for BROWSER
3 years ago
Indrajit Raychaudhuri
050f906f03
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
5b32fa6962
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
9f07e3db72
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.
5 years ago
Yutian Li
b8f7a14daa
[git] Also check "commondir" when looking for a stash ( #1620 )
6 years ago
Diego Rabatone Oliveira
0ce0659709
Replace git with 'command git' ( #1551 )
...
to improve performance if git is aliased to hub or other wrappers.
7 years ago
Indrajit Raychaudhuri
7a4395d227
[git] Support short-code and improve completion in 'git-hub-shorten-url'
...
Changes:
- Add optional short-code support
- Improve completion for github.com URL (`http(s)://*.github.com` only)
- Return with non-zero exit code appropriately
7 years ago
Indrajit Raychaudhuri
a60499f933
[general] Miscellaneous cleanup and formatting
8 years ago
Zhiming Wang
d25b251ef7
git: Add revert to special action contexts
...
revert is very similar to cherry-pick and has a sequence variant.
8 years ago
Indrajit Raychaudhuri
e6136a517b
[git] Fix 'git-hub-shorten-url' helper
...
Changes:
- Use git.io over 'https'
- Add extra check to conform to *.github.com URLs
- Use built-in _urls function for completion
- Update readme with GitHub blog URL
8 years ago
Kaleb Elwert
7d5beeab51
Add comments into each of the function files to make them easier to find
8 years ago
Zhiming Wang
12d48dfcf9
Remove extra use of grep in git-hub-shorten-url ( #904 )
8 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
3f4d5fac0c
Add zstyles for git-log formats
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
8b8a883718
Add completion for Git submodule moving and removing
12 years ago
Sorin Ionescu
102da8bea0
Make sure that the current directory is a Git repository
12 years ago
Sorin Ionescu
6c1a81b5cf
Return inside of the if statement
12 years ago
Sorin Ionescu
39a793af0a
Simplify git-config calls
12 years ago
Sorin Ionescu
2bee82dc2a
Fix a #compdef bug introduced in 7dd7859
12 years ago
Sorin Ionescu
26d3d16154
Add missing backslashes
12 years ago
Sorin Ionescu
c6cdd47b24
Define variable expl as local
12 years ago
Sorin Ionescu
b0a71cae3c
Load dependencies in Git init
12 years ago
Sorin Ionescu
eb0856d2f5
Add a missing '.'
12 years ago
Sorin Ionescu
deeb115ae2
Add Git submodule moving and removing
12 years ago
Sorin Ionescu
9785454938
Rename git-hub-short-url to git-hub-shorten-url
12 years ago
Sorin Ionescu
7dd78595ae
Rename git-hub to git-hub-browse
12 years ago
Sorin Ionescu
e43f2b2659
Add support for browsing GitHub tags
12 years ago
Sorin Ionescu
224dc2eaff
Use Git porcelain commands in git-hub
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
13 years ago
Sorin Ionescu
bf654dde09
Improve the readability of _git-action
13 years ago
Sorin Ionescu
8d7f785ea9
Remove the unnecessary action local variable
13 years ago
Sorin Ionescu
722353130e
Detect the sequenced Git cherry picking action
13 years ago
Sorin Ionescu
0f9a6878f8
[ Fix #209 ] Switch the casing of y/n
13 years ago