]> arthur.barton.de Git - ax-zsh.git/commitdiff
50_prompt: Remove unused variables
authorAlexander Barton <alex@barton.de>
Sun, 27 Sep 2015 18:13:21 +0000 (20:13 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 27 Sep 2015 18:13:21 +0000 (20:13 +0200)
core/50_prompt/50_prompt.zshrc

index 6f8da72b3c11e2a086cd3ed2f2cd02e505ada5d6..6f21886b0aec755b838dcbd20a177bb51d76e5e2 100644 (file)
@@ -16,7 +16,6 @@ function ax_logname_prompt_root() {
 
 function ax_logname_prompt_yn() {
        local func
-       local p
        for func ($ax_logname_prompt_functions); do
                $func || continue
                echo "${ZSH_THEME_LOGNAME_PROMPT_PREFIX}${1:-$LOGNAME}${ZSH_THEME_LOGNAME_PROMPT_SUFFIX}"
@@ -38,7 +37,6 @@ function ax_hostname_prompt_root() {
 
 function ax_hostname_prompt_yn() {
        local func
-       local p
        for func ($ax_hostname_prompt_functions); do
                $func || continue
                echo "${ZSH_THEME_HOSTNAME_PROMPT_PREFIX}${1:-$SHORT_HOST}${ZSH_THEME_HOSTNAME_PROMPT_SUFFIX}"