Add configuration for git
- Add .config/git/config + Define aliases + Configure default behavior in various situations + Add user information with signing key - Add .config/git/commit_msg_template.txt - Add .config/git/ignore - Integrate `git` aliases into the shell
This commit is contained in:
parent
3017a7bdec
commit
721c2fd905
21 changed files with 1122 additions and 66 deletions
4
.zshrc
4
.zshrc
|
|
@ -91,6 +91,10 @@ zstyle ':completion:*:messages' format '%d'
|
|||
zstyle ':completion:*:warnings' format 'No matches for: %d'
|
||||
zstyle ':completion:*' group-name ''
|
||||
|
||||
# Make `git` sub-commands in ~/.local/bin completable
|
||||
zstyle ':completion:*:*:git:*' user-commands \
|
||||
${${${(M)${(k)commands}:#git-*}#git-}:#(receive-pack|upload-pack|upload-archive|shell)}
|
||||
|
||||
|
||||
# Jump to frequently used directories with `z <fragment>`
|
||||
if _command_exists zoxide; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue