mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-02 00:29:25 +00:00
Fix theme function declaration style
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
# http://i.imgur.com/zLZNK.png
|
||||
#
|
||||
|
||||
function +vi-git-status() {
|
||||
function +vi-git_status {
|
||||
# Check for untracked files or updated submodules since vcs_info does not.
|
||||
if [[ -n $(git ls-files --other --exclude-standard 2> /dev/null) ]]; then
|
||||
hook_com[unstaged]='%F{red}●%f'
|
||||
@ -40,7 +40,7 @@ function prompt_minimal_setup {
|
||||
zstyle ':vcs_info:*' formats ' - [%b%c%u]'
|
||||
zstyle ':vcs_info:*' actionformats " - [%b%c%u|%F{cyan}%a%f]"
|
||||
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b|%F{cyan}%r%f'
|
||||
zstyle ':vcs_info:git*+set-message:*' hooks git-status
|
||||
zstyle ':vcs_info:git*+set-message:*' hooks git_status
|
||||
|
||||
# Define prompts.
|
||||
PROMPT='%2~${vcs_info_msg_0_} » '
|
||||
|
Reference in New Issue
Block a user