From 2211d4b16fbd8b301fc5e54b2a782e015b6679dc Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Tue, 5 Jun 2012 15:09:00 +0200 Subject: [Prompt] unuseful agent variables cleanup --- 12_Prompts.zsh | 3 --- 1 file changed, 3 deletions(-) (limited to '12_Prompts.zsh') diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 17b82f3..7da1134 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -159,7 +159,6 @@ __update_prompt_elements() if [ "$SSH_AGENT_KEYLIST" != "" ] then AgentChar=${AGENT_WITH_KEYS:-✔} - AGENTS="" for i in $(echo $SSH_AGENT_KEYLIST | cut -d' ' -f3 ) do AGENTS=$AGENTS$C_${_agent_colors[$i:t]:-$_agent_colors[has_keys]}$_C$AgentChar @@ -193,8 +192,6 @@ __update_prompt_elements() AGENTS=$AGENTS$C_$_agent_colors[$AGENTCOLOR]$_C${GPG_AGENT_RUNNING:-⚡} fi fi - AGENTSSIZE=$(__expand_text $AGENTS) - AGENTSSIZE=$#AGENTSSIZE [ "$DEBUG" = "yes" ] && echo -- cgit v1.2.3