From 66941895f6236928895e1bb640c7675fee192195 Mon Sep 17 00:00:00 2001 From: Matt Hamilton Date: Tue, 15 Dec 2015 21:51:28 -0500 Subject: [PATCH] update function names in eriner prompt --- modules/prompt/themes/eriner.zsh-theme | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/prompt/themes/eriner.zsh-theme b/modules/prompt/themes/eriner.zsh-theme index 2d7bb94..15193fd 100644 --- a/modules/prompt/themes/eriner.zsh-theme +++ b/modules/prompt/themes/eriner.zsh-theme @@ -112,7 +112,7 @@ prompt_status() { } ## Main prompt -prompt_agnoster_main() { +prompt_eriner_main() { RETVAL=$? CURRENT_BG='NONE' prompt_status @@ -122,18 +122,18 @@ prompt_agnoster_main() { prompt_end } -prompt_agnoster_precmd() { +prompt_eriner_precmd() { vcs_info - PROMPT='%{%f%b%k%}$(prompt_agnoster_main) ' + PROMPT='%{%f%b%k%}$(prompt_eriner_main) ' } -prompt_agnoster_setup() { +prompt_eriner_setup() { autoload -Uz add-zsh-hook autoload -Uz vcs_info prompt_opts=(cr subst percent) - add-zsh-hook precmd prompt_agnoster_precmd + add-zsh-hook precmd prompt_eriner_precmd zstyle ':vcs_info:*' enable git zstyle ':vcs_info:*' check-for-changes false @@ -141,4 +141,4 @@ prompt_agnoster_setup() { zstyle ':vcs_info:git*' actionformats '%b (%a)' } -prompt_agnoster_setup "$@" +prompt_eriner_setup "$@"