diff --git a/plugins/gitfast/_git b/plugins/gitfast/_git index 1283c713e..ec409b1ac 100644 --- a/plugins/gitfast/_git +++ b/plugins/gitfast/_git @@ -173,7 +173,7 @@ __git_zsh_cmd_common () __git_zsh_cmd_alias () { local -a list - list=(${${(0)"$(git config -z --get-regexp '^alias\.*')"}#alias.}) + list=(${${(0)"$(git config -z --get-regexp '^alias\.')"}#alias.}) list=(${(f)"$(printf "%s:alias for '%s'\n" ${(f@)list})"}) _describe -t alias-commands 'aliases' list && _ret=0 }