Compare commits
1 Commits
f2b8731770
...
24f77fb550
Author | SHA1 | Date | |
---|---|---|---|
24f77fb550 |
@ -3,5 +3,7 @@
|
||||
- symlink:
|
||||
- {src: config, dst: ~/.gitconfig}
|
||||
- {src: _git-changes, dst: ~/.local/share/zsh/site-functions/_git-changes}
|
||||
- {src: _git-fixup, dst: ~/.local/share/zsh/site-functions/_git-fixup}
|
||||
- {src: _git-squash, dst: ~/.local/share/zsh/site-functions/_git-squash}
|
||||
- repo:
|
||||
- git@code.infektor.net:benie/config.git
|
||||
|
@ -43,6 +43,8 @@ rely on the shell to function. The following aliases extend the default
|
||||
[Git][git] completions.
|
||||
|
||||
* `git changes` completions for the branch name to compare with are provided.
|
||||
* `git fixup`/`git squash` completions for recent commits to fixup/squash are
|
||||
provided.
|
||||
|
||||
[git]: https://git-scm.com
|
||||
[aliases]: https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases
|
||||
|
6
_git-fixup
Normal file
6
_git-fixup
Normal file
@ -0,0 +1,6 @@
|
||||
#compdef git-fixup
|
||||
#description Prepare a commit for fixup during autosquash rebase.
|
||||
|
||||
_arguments '1: :__git_recent_commits'
|
||||
|
||||
# vim: ft=zsh
|
6
_git-squash
Normal file
6
_git-squash
Normal file
@ -0,0 +1,6 @@
|
||||
#compdef git-squash
|
||||
#description Prepare a commit for squashing during autosquash rebase.
|
||||
|
||||
_arguments '1: :__git_recent_commits'
|
||||
|
||||
# vim: ft=zsh
|
Loading…
x
Reference in New Issue
Block a user