From d4d894bbe8d67633dcdd2b1924759a272d78cb9e Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Fri, 17 Jan 2020 12:54:42 -0500 Subject: [PATCH] Add git module configuration suggesting that the aliases-prefix can be customized to 'g'. See zimfw/git#2 --- install.zsh | 7 +++++++ src/templates/zshrc | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/install.zsh b/install.zsh index 976a61c..70938b6 100644 --- a/install.zsh +++ b/install.zsh @@ -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 # diff --git a/src/templates/zshrc b/src/templates/zshrc index d86decd..7934f54 100644 --- a/src/templates/zshrc +++ b/src/templates/zshrc @@ -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 #