Skip to content

Commit

Permalink
Add git module configuration
Browse files Browse the repository at this point in the history
suggesting that the aliases-prefix can be customized to 'g'.
See zimfw/git#2
  • Loading branch information
ericbn committed Jan 17, 2020
1 parent 9f1979e commit d4d894b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,13 @@ WORDCHARS=\${WORDCHARS//[\\/]}
# If none is provided, the default \${ZDOTDIR:-\${HOME}}/.zcompdump is used.
#zstyle ':zim:completion' dumpfile \"\${ZDOTDIR:-\${HOME}}/.zcompdump-\${ZSH_VERSION}\"
#
# git
#
# Set a custom prefix for the generated aliases. The default prefix is 'G'.
#zstyle ':zim:git' aliases-prefix 'g'
#
# input
#
Expand Down
7 changes: 7 additions & 0 deletions src/templates/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ WORDCHARS=${WORDCHARS//[\/]}
# If none is provided, the default ${ZDOTDIR:-${HOME}}/.zcompdump is used.
#zstyle ':zim:completion' dumpfile "${ZDOTDIR:-${HOME}}/.zcompdump-${ZSH_VERSION}"

#
# git
#

# Set a custom prefix for the generated aliases. The default prefix is 'G'.
#zstyle ':zim:git' aliases-prefix 'g'

#
# input
#
Expand Down

0 comments on commit d4d894b

Please sign in to comment.