diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2009-01-30 16:39:25 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2009-01-30 16:39:25 +0100 |
commit | 4a5b97a865f614b4aebf93a2d04bb6616c7d864d (patch) | |
tree | e221256761c581459e2be034e045c861e642c52c /11_Colors.zsh | |
parent | 2e095258f79a96b4ba2c495c244a58fd9e9638ad (diff) |
[PROMPT] SSH agent key listing, and GnuPG agent better managment
Diffstat (limited to '11_Colors.zsh')
-rw-r--r-- | 11_Colors.zsh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/11_Colors.zsh b/11_Colors.zsh index d9b1e8f..0ca3f52 100644 --- a/11_Colors.zsh +++ b/11_Colors.zsh @@ -7,7 +7,7 @@ ## You are encouraged to use, modify, and redistribute ## these files with or without this notice. ## -typeset -A prompt_colors git_colors mail_colors correct_colors battery_colors date_colors +typeset -A prompt_colors git_colors mail_colors correct_colors battery_colors date_colors agent_colors # I hate kik00l0l colorized prompts, so I'm using a way to # give a dominant color for each part of the prompt, each of @@ -79,7 +79,8 @@ set_prompt_colors () mail_colors[unread]="$color[yellow];$color[bold]" # mail received mail_colors[listes]="$my_generic;$color[bold]" # less important mail received - prompt_colors[agents]="$prompt_colors[bold_generic]" + agent_colors[has_keys]="$color[bold];$color[yellow]" + agent_colors[empty]="$prompt_colors[bold_generic]" prompt_colors[up_to_date]="$my_generic" # up-to-date prompt_colors[not_up_to_date]="$color[green];$color[bold]" # not up to date |