summaryrefslogtreecommitdiff
path: root/12_Prompts.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2012-06-05 15:09:00 +0200
committerHugues Hiegel <hugues@hiegel.fr>2012-06-05 15:09:00 +0200
commit2211d4b16fbd8b301fc5e54b2a782e015b6679dc (patch)
tree3de3b9a030f4b2757f0a6938eaafec0b85af08df /12_Prompts.zsh
parent4782cea0cc326f636943316f04fcb5444cd8c609 (diff)
[Prompt] unuseful agent variables cleanup
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r--12_Prompts.zsh3
1 files changed, 0 insertions, 3 deletions
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